Adobe Illustrator CS5 - New Artboard

Hi there,

How can I create a new Artboard in Adobe Illustrator with AS or duplicate an Artboard? Is this even possible?

Thanks for your help

Cheers
Marth

There would appear to be some things not right with AppleScript and Illustrator’s newer artboards. You can however make a new one as long as you provide the bounding rectangle.

tell application "Adobe Illustrator"
	tell the current document
		make new artboard with properties {artboard rectangle:{0, 0, 100, -100}}
	end tell
end tell

The negative values are for CS5 which is now downside up or is it upside down.

Thank you very much! It works great!
Erm…but how do I define the Position of the new Artboard?

Cheers
Marth

With the bounds in the rectangle you supply. Relative to the document co-ordinates {x,y,w,h}