
: Is there a way to select layer transparency in Photoshop (CC) using JS? Selecting transparency layer that I mean is similar as Cmd+Click (Windows: Ctrl+Click) on Photoshop layer panel. What I
Selecting transparency layer that I mean is similar as Cmd+Click (Windows: Ctrl+Click) on Photoshop layer panel.
What I found so far in the Adobe JS reference document only to load from the channel color.
// only for rgb img //
var doc = app.activeDocument;
var channelRed = doc.channels[0];
var channelGreen = doc.channels[1];
var channelBlue = doc.channels[2];
doc.selection.load(channelRed, SelectionType.REPLACE,true);
doc.selection.load(channelGreen, SelectionType.EXTEND,true);
doc.selection.load(channelBlue, SelectionType.EXTEND,true);
//save as jsx and run in ps
However, this above is to select by load the selection from color plate/Channel. While what I need is to load the selection from Layer.
Any clue that I can follow?
More posts by @Alves566
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.