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

Re: Photoshop - positionning layers


  • Subject: Re: Photoshop - positionning layers
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 14 Oct 2008 21:44:11 +1100
  • Thread-topic: Photoshop - positionning layers

It sounds like you're not addressing a document. Does this work for you?

tell application "Adobe Photoshop CS3"
    activate
    tell settings
        set ruler units to point units
    end tell
    tell current document
        set theWidth to width
        set current layer to (duplicate layer 1 to end)
        translate current layer delta x (theWidth / 2) delta y 0
    end tell
end tell


--
Shane Stanley <email@hidden>


 _______________________________________________
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: 
 >Re: Photoshop - positionning layers (From: Jay Louvion <email@hidden>)

  • Prev by Date: Re: Photoshop - positionning layers
  • Next by Date: Re: Photoshop - positionning layers [solved]
  • Previous by thread: Re: Photoshop - positionning layers
  • Next by thread: Defining an excel function with applescript
  • Index(es):
    • Date
    • Thread