• 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 2017 ruler units
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Illustrator 2017 ruler units


  • Subject: Illustrator 2017 ruler units
  • From: Stan Cleveland <email@hidden>
  • Date: Mon, 18 Sep 2017 14:55:34 -0700

Greetings!

I'm scripting Adobe Illustrator CC 2017.1.0 in Mac OS X 10.11.6 using Script
Debugger 6.0.5. The following code returns some valid and some invalid results:

  tell application id "com.adobe.illustrator"
      ruler units of current document
  end tell

Listed below are the actual ruler units in use and how Illustrator is reporting
them:

   inches         = bicubic automatic
   points         = preserve details
   picas           = picas
   millimeters  = millimeters
   centimeters = automatic
   pixels          = pixels

Obviously, the ones in red are bogus. There must be some sort of terminology
mixup. So, two questions:

1. Is anyone else seeing this issue?

2. Can I expect "preserve details" to be a consistent and valid substitution
for "points" in Illustrator's terminology? For example, can I count on this
line?:

  if ruler units of current document is preserve details then return "points"

Actually, in case Adobe fixes it in the future, I'd probably do something like
this:

  if ruler units of current document is in {points, preserve details} then
return "points"

Thanks,
Stan C.

 _______________________________________________
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 2017 ruler units
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Tearing my bloody hair out.
  • Next by Date: Re: Illustrator 2017 ruler units
  • Previous by thread: Re: Tearing my bloody hair out
  • Next by thread: Re: Illustrator 2017 ruler units
  • Index(es):
    • Date
    • Thread