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

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

  • Follow-Ups:
    • Re: Photoshop Help
      • From: Monte Babington <email@hidden>
References: 
 >Photoshop Help (From: Monte Babington <email@hidden>)

  • Prev by Date: Re: Currency Numbers
  • Next by Date: Shell game
  • Previous by thread: Re: Photoshop Help
  • Next by thread: Re: Photoshop Help
  • Index(es):
    • Date
    • Thread