Re: Versions
Re: Versions
- Subject: Re: Versions
- From: Steve Thompson <email@hidden>
- Date: Thu, 24 Mar 2011 18:33:16 +0000
On 24 Mar 2011, at 15:36, Fleisher, Ken wrote: I have a script that is running on multiple machines, but some machines return an error while others run correctly for certain commands. (Usually having to do with getting bounds of a layer in photoshop—some machines need the command “bounds of layerref as list” and others require me to omit the “as list”. The results are returned as follows:
{{0,0,100,100}} {0,0,100,100}
Is this what you're after?
set theBounds to bounds of layerref if class of theBounds is not list then set theBounds to bounds of layerref as list |
_______________________________________________
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
References: | |
| >Versions (From: "Fleisher, Ken" <email@hidden>) |