Illustrator Artboard Ruler Origin
Illustrator Artboard Ruler Origin
- Subject: Illustrator Artboard Ruler Origin
- From: Robert Stott <email@hidden>
- Date: Fri, 26 Jul 2013 10:02:09 +0000 (GMT)
Hi,
I'm trying to get and/or set the ruler origin of an artboard in Illustrator CS6. I can get the properties of the artboard, but can't get or set the origin (I'd like to set it to {0,0}). Here's my code:
tell application "Adobe Illustrator"
tell front document
set theArtboardProps to properties of artboard 1 --this works
set theRulerOrigin to ruler origin of artboard 1 --this fails with error "Adobe Illustrator got an error: Can’t get ruler origin of artboard 1 of document 1."
set theRulerOrigin to ruler origin of theArtboardProps --this fails too
end tell
end tell
...can anyone explain what I'm doing wrong?
Thanks
Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden