• 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: Versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Versions
      • From: "Fleisher, Ken" <email@hidden>
References: 
 >Versions (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: Versions
  • Next by Date: Re: Versions
  • Previous by thread: Re: Versions
  • Next by thread: Re: Versions
  • Index(es):
    • Date
    • Thread