This content has been marked as final.
Show 2 replies
-
1. Re: [JS][CC] Detecting if an image has Multiply effect applied
Kai Rübsamen Feb 25, 2014 10:46 AM (in response to Roy Marshall)Hi Roy,
you can try the following lines:
var curSel = app.selection[0]; // image //~ var tS = curSel.images[0].transparencySettings.blendingSettings.blendMode; // frame var tS = curSel.transparencySettings.blendingSettings.blendMode; if ( tS == BlendMode.MULTIPLY ) { alert( "FOUND" ); } else { alert ( "OK" ); }best
Kai
-
2. Re: [JS][CC] Detecting if an image has Multiply effect applied
Roy Marshall Feb 25, 2014 11:32 AM (in response to Kai Rübsamen)Hey, thanks!
I was going through the Data Browser, looking at "properties.fillTransparencySettings.satinSettings" and other properties with no luck. I would like to think I would have got there in the end, but was starting to give up.
Thanks again
Roy


