PS Scripts: Photoshop Refresh Function

Posted on Monday, 13 August 2007
How to enable Script Panels in After Effects in One Minute and add your own Scripts
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);
};

How to enable Script Panels in After Effects in One Minute and add your own Scripts
PS Scripting: How To Run A Photoshop Script without Running it From Photoshop
error: Alert: Content is protected !!