Forced screen redraw [Photoshop CS3]


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. waitForRedraw = function() {
  2. cTID = function(s)
  3. {
  4. return app.charIDToTypeID(s);
  5. }
  6. var desc = new ActionDescriptor();
  7. desc.putEnumerated(cTID("Stte"), cTID("Stte"), cTID("RdCm"));
  8. executeAction(cTID("Wait"), desc, DialogModes.NO)
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.