Return to Snippet

Revision: 10110
at December 8, 2008 13:55 by preasha


Initial Code
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)
}

Initial URL

                                

Initial Description
Forces the redraw of the active document screen.

Initial Title
Forced screen redraw [Photoshop CS3]

Initial Tags
javascript

Initial Language
JavaScript