Re: Photoshop Help
Re: Photoshop Help
- Subject: Re: Photoshop Help
- From: Stan <email@hidden>
- Date: Thu, 29 Jun 2006 18:27:25 -0700
- Thread-topic: Photoshop Help
On 6/29/06 3:29 PM, Monte Babington wrote:
> How do I do the equivalent of command-clicking on a layer (set current
> selection to the contents of the layer I clicked)?
On 6/29/06 4:04 PM, Shane Stanley wrote:
> If you have only one layer visible, "select all" will select just that
> layer.
"Select all" also works with the currently selected layer, which you can
control, as shown in the snippet below. Note that referencing either "layer"
or "art layer" by name or index will work.
tell application "Adobe Photoshop CS2"
tell document 1
set current layer to layer "Background"
-- or
set current layer to art layer "Layer 2"
-- or
set current layer to layer 3
select all
end tell
end tell
Stan Cleveland
Color Technology Inc.
Portland, Oregon
"When I was a kid I had no idea I lived in a mansion. Then I went to a
friend's house, and I was like, 'Oh.'" -- Paris Hilton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden