• 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: how to 'delete' (i.e. like pressing backspace)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop: how to 'delete' (i.e. like pressing backspace)


  • Subject: Re: Photoshop: how to 'delete' (i.e. like pressing backspace)
  • From: Stan Cleveland <email@hidden>
  • Date: Mon, 27 Mar 2006 13:04:15 -0800
  • Thread-topic: Photoshop: how to 'delete' (i.e. like pressing backspace)

On 3/27/06 9:48 AM, email@hidden wrote:

> Hi folks,
>
> I am generating some nice CD face art (unique CD designs, lovely!)
>
> I have a selection saved in an alpha channel representing the CD face
> printable area, and I was hoping to just load that selection, invert it
> and delete everything which fell outside the printable area.
>
> Alas, I can't find a command which does the same as pressing backspace on
> the keyboard. 'delete' requires some kind of parameter, but I don't know
> what it should be. Any ideas? Here's a script snippet:
>
> tell application "Adobe Photoshop CS"
> tell current document
> load selection from channel "Printable" with inverting
> delete selection -- doesn't work
> end tell
> end tell
>
>
> Oh... as you can see I am not using CS2, but I don't suppose that matters.
>
> Thanks in advance.

This works in CS:

tell application "Adobe Photoshop CS"
    tell current document
        load selection from channel "Printable" with inverting
        clear
    end tell
end tell

Stan Cleveland
Color Technology Inc.
Portland, Oregon

"Difficulties increase the nearer we get to the goal." -- Goethe


 _______________________________________________
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

References: 
 >Photoshop: how to 'delete' (i.e. like pressing backspace) (From: Brennan <email@hidden>)

  • Prev by Date: RE: Return or No Return
  • Next by Date: Re: Applescript process id
  • Previous by thread: Photoshop: how to 'delete' (i.e. like pressing backspace)
  • Next by thread: Re: Applescript process id
  • Index(es):
    • Date
    • Thread