• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Illustrator Artboard Ruler Origin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Illustrator Artboard Ruler Origin
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: mail
  • Next by Date: Re: Illustrator Artboard Ruler Origin
  • Previous by thread: Re: mail
  • Next by thread: Re: Illustrator Artboard Ruler Origin
  • Index(es):
    • Date
    • Thread