• 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: Select Similar in PhotoShop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select Similar in PhotoShop


  • Subject: Re: Select Similar in PhotoShop
  • From: Jesper Storm Bache <email@hidden>
  • Date: Wed, 09 Mar 2005 15:41:16 -0800

Hi Steven,
I am using Photoshop CS, but I think this applies to 7 as well. "similar" is defined as:
similar selection-object -- the selection-object object or objects to be operated upon
tolerance integer
antialiasing boolean
the selection-object is obtained through the selection property of a document. You should therefore do the following:
tell
application "Adobe Photoshop CS"
similar selection of current document tolerance 60 with antialiasing
end tell

Hope it works for you.

Jesper Storm Bache


On Mar 9, 2005, at 1:31 PM, Steven Valenti wrote:

How do I word the "similar" command in PhotoShop?

tell application "Adobe Photoshop 7.0"
activate
select current document region {{2, 2}, {4, 2}, {4, 4}, {2, 4}}
fill selection of current document with contents {class:RGB color,
red:166, green:167, blue:159}


similar of layer "DarkColor" of current document tolerance 60 with
antialiasing --Creates Error here
end tell

Thanks,

Steven


_______________________________________________
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

 _______________________________________________
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: 
 >Select Similar in PhotoShop (From: Steven Valenti <email@hidden>)

  • Prev by Date: What are the limitations of the AppleScript data structure and tools?
  • Next by Date: Re: About keychain scripting
  • Previous by thread: Select Similar in PhotoShop
  • Next by thread: What are the limitations of the AppleScript data structure and tools?
  • Index(es):
    • Date
    • Thread