Re: Select Similar in PhotoShop
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