Re: Select region in photoshop cs
Re: Select region in photoshop cs
- Subject: Re: Select region in photoshop cs
- From: Martin Orpen <email@hidden>
- Date: Mon, 21 Feb 2005 23:42:20 +0000
on 21/2/05 11:21 pm, Bill Pogue at email@hidden wrote:
> I would like to have applescript create a selection based on pixel
> coordinates. Among other things, I've tried:
> tell application "Adobe Photoshop CS"
> activate
> select current document region {{1, 1}, {50, 50}}
> end tell
>
> This runs without producing an error message but doesn't create a selection.
> At this point I don't know if on the wrong track or just omitting something
> simple.
You need more than two points to select an area.
For example, to select a single pixel you'd do something like:
select region {{x,y}, {x,y +1}, {x+1, y+1}, {x+1, y}} without
antialiasing
HTH
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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