PS Scripts: Photoshop Refresh Function

Posted on Monday, 13 August 2007
PS Scripts: List fonts used in PSD Files
PS Scripting: How To Run A Photoshop Script without Running it From Photoshop

Photoshop Refresh Function

Photoshop Refresh Function
Here is a function I wrote to refresh Photoshop, Enjoy!

function refresh() {
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);
};

PS Scripts: List fonts used in PSD Files
PS Scripting: How To Run A Photoshop Script without Running it From Photoshop
error: Alert: Content is protected !!