Copy link to clipboard
I could not detect this by checking for a Layer name of 'Smart Filters'.
How can I detect if the Smart Filters mask is active/selected, please?
From https://community.adobe.com/t5/photoshop/smart-filter/td-p/10758108?page=1 I've tried this snippet but it alerts "false" whether I'm on or off the mask ...
sTT = stringIDToTypeID; (ref = new ActionReference()).putProperty(sTT('property'), iI = sTT('itemIndex'))
ref.putEnumerated(sTT('channel'), sTT('ordinal'), sTT('targetEnum')), alert(!(executeActionGet(ref).getInteger(iI) > 3))
Have something to add?