Re: Photoshop Channels help
Re: Photoshop Channels help
- Subject: Re: Photoshop Channels help
- From: Shane Stanley <email@hidden>
- Date: Thu, 10 Nov 2005 08:35:38 +1100
- Thread-topic: Photoshop Channels help
On 10/11/05 1:31 AM, "Timothy K. Wilkinson" <email@hidden> wrote:
> I've been able to spilt the original into channels, make a new document and
> then paste the data into that document. The problem is that I only want to
> paste the data into the green channel but it pastes it in every channel.
>
> Does anyone know how to tell Photoshop to only paste into a certain channel?
> I've tried setting the visible of the other channels to false but that
> hasn't worked.
What you're trying won't work in the UI, so you're a bit optimistic to
expect it to work via scripting. You need to do it the same was as copying a
channel in the UI, which means don't split the channels -- just select the
green channel, copy, make new doc, select the green channel, then paste:
tell application "Adobe Photoshop CS2"
activate
tell current document
set x to the width as inches
set y to the height as inches
set current channels to channel 2
select all
end tell
copy
make new document with properties {resolution:300, width:x as inches,
height:y as inches, mode:RGB}
tell current document
set current channels to channel 2
end tell
paste
end tell
--
Shane Stanley <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