Copy link to clipboard
Copied
var arrayNoFill = [];
...
alert("Found " + arrayNoFill.length + " unfilled clipping mask(s)."); // found 1
alert('active layer: ' + doc.activeLayer.name);
// at this point nothing selected
for (var i = 0; i < arrayNoFill.length; i++) {
arrayNoFill[i] = true;
}
#include "../path/flatten_transparency.jsx"
For some reason at this point the green shape is also selected and it makes group with the Clip Group on the right.
Here is an action string I found somewhere on the forum which I use here to flatten transaprenty:
Copy link to clipboard
Copied
It can be achieved by following this procedure. Or you can record the action yourself.
Copy link to clipboard
Copied
@sttk3 is it possible to remove "/internalName (adobe_selectAll) " text from the current string? I have not tested. - Mark
Copy link to clipboard
Copied
It is possible, but removing only that part should break aia. We need to remove the entire event and then match the eventCount with the actual.
Copy link to clipboard
Copied
Interesting! Thanks.