Posted By

preasha on 12/08/08


Tagged

javascript screen adobe CS3 extendscript redraw screenredraw


Versions (?)

Forced screen redraw [Photoshop CS3]


 / Published in: JavaScript
 

Forces the redraw of the active document screen.

  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  

You need to login to post a comment.