Re: Photoshop - positionning layers
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