Question
check if layer has mask
is it by any means possible to check if a layer has a mask?
i'm using javascript, and tried counting the channels, but it just ignores the mask channel for some reason
this is what i got
var doc = activeDocument;
//Parcours channels = get list of channels
for(a=0;a<app.activeDocument.channels.length;a++)
{
channelName = doc.channels.name;
alert(channelName);
};
alert(a);
