/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
waitForRedraw = function() { cTID = function(s) { return app.charIDToTypeID(s); } var desc = new ActionDescriptor(); desc.putEnumerated(cTID("Stte"), cTID("Stte"), cTID("RdCm")); executeAction(cTID("Wait"), desc, DialogModes.NO) }