Execute() command not working on Photoshop CC
This code works perfectly on CS6 but not on CC. Any ideas on how to solve it?
var toGo = File(String("/Users/asouza/Documents/K3/test/test.log"));
toGo.execute();
Thanks,
Alex
This code works perfectly on CS6 but not on CC. Any ideas on how to solve it?
var toGo = File(String("/Users/asouza/Documents/K3/test/test.log"));
toGo.execute();
Thanks,
Alex
My simple solution (thanks to Adobe team) was to clean up Photoshop Preferences.
All you have to do is to follow this video http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/how-to-reset-photoshop-cs6s-preferences-file/ and reset all your preferences. Doing so, everything returns to normality.
This is a known problem with Photoshop CC and we have a solution in place for a future release. If you do any of the following, you will probably get into the "Permission denied" state. All ExtendScript engines can no longer myFile.execute(). Resetting preferences will get you out of that state.
File -> Browse in Bridge
File -> Generate -> Image Assets
(there may be other cases as well)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.