I have written (with the aid of posters around the world) a script that cleans up photoshop files, burrowing into smart objects and cleaning up there too. It works fine when run from Applescript Editor, however when dropping files on the application, the script only runs these handlers (my deleteHiddenLayers is commented out because it requires an action to run not included here):
my assignWorkingProfile() -- my deleteHiddenLayers() my reduceTo150ppi() my selectAllandCrop()
and not the smart object one:
Any ideas anyone?
Here’s the script:
Browser: Safari 534.57.2
Operating System: Mac OS X (10.7)