Copy link to clipboard
Copied
In this Script Select and Mask is not working in Photoshop CS3 ?
cTID = function(s) { return app.charIDToTypeID(s); };
sTID = function(s) { return app.stringIDToTypeID(s); };
var desc1 = new ActionDescriptor();
desc1.putInteger(sTID("smartBrushRadius"), 5);
desc1.putInteger(sTID("smartBrushSmooth"), 5);
desc1.putUnitDouble(sTID("smartBrushFeather"), cTID('#Pxl'), 0);
desc1.putUnitDouble(sTID("smartBrushContrast"), cTID('#Prc'), 0);
desc1.putUnitDouble(sTID("smartBrushShiftEdge"), cTID('#Prc'), 5);
desc1.putBoolean(sTID("sampleAllLayers"), false);
desc1.putBoolean(sTID("smartBrushUseSmartRadius"), false);
desc1.putBoolean(sTID("smartBrushDecontaminate"), false);
desc1.putUnitDouble(sTID("smartBrushDeconAmount"), cTID('#Prc'), 100);
desc1.putEnumerated(sTID("refineEdgeOutput"), sTID("refineEdgeOutput"), sTID("selectionOutputToUserMask"));
executeAction(sTID('smartBrushWorkspace'), desc1, DialogModes.NO);
Copy link to clipboard
Copied
Why don't you use Script Listener in CS3 to create appropriate code?
That you do is like asking why modern wheel doesn't fit to first automobiles 😕
Copy link to clipboard
Copied
Script Listener Can't work properly in CS3
Copy link to clipboard
Copied
Tell you what you mean, and give some examples.
Copy link to clipboard
Copied
Photoshop cs3 doesn't have Select and Mask, which is in the creative cloud version of photoshop.
Photoshop cs3 has the Quick Selection Tool to use with Refine Edge.
Copy link to clipboard
Copied
So something there wasn't available in CS2 yet.