• 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
Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]


  • Subject: Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
  • From: Jon Pugh <email@hidden>
  • Date: Fri, 25 Sep 2009 08:36:40 -0700

At 8:58 PM +1000 9/25/09, Shane Stanley wrote:
>Photoshop uses it for its built-in unit coercions -- so you can say "set
>height to 100 as points", and so on. For some reason, this functionality
>could only be achieved by using a scripting addition -- Quark did something
>similar.

The reason for the scripting addition is so that you can specify units outside of Photoshop/Quark tell blocks.

I did a similar thing for PhotoFlash back in the early 90s, but I also installed them from the app if the scripting addition wasn't present, so we'd never fail.


>None of the other Adobe apps use these coercions; Illustrator works solely
>in points, and InDesign doesn't support coercion between units.

InDesign uses strings for units.  "12 inches", "864 points", which are not parsed by AppleScript, so they don't need any support.  PhotoFlash also supported string formats.  ;)

Jon
 _______________________________________________
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: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6] (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: TImer
  • Next by Date: Re: Manipulating text
  • Previous by thread: Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
  • Next by thread: Re: Photoshop CS3 and CS4 [was Re: AppleScript & inDesign CS4 & 10.6]
  • Index(es):
    • Date
    • Thread