Copy link to clipboard
Copied
Im trying to access the script event manager option in Photoshop CS5 -win10 - and Im getting this error
(referenceError window does not have a constructor: online 53)
resuming I load before a js file to the script event manager, the option open fine, search the file and add it, everything went right. but now Im trying to access it again send this msg. I have no idea to do next. Im attaching a screenshot about this line.
the funcion of the script is to run when I load a psd file and create image automaticaly.
Thanks.
Copy link to clipboard
Copied
What are you trying to achieve exactly?
If you should be trying to link a Script or Action to an event why are you tinkering around with »Script Events Manager.jsx« instead of using the interface it provides in Photoshop?
Copy link to clipboard
Copied
Try clearing the script event manager settings with this code:
while (app.notifiers.length) { notifiers[0].remove() }
notifiersEnabled = false
var f = new File( app.preferencesFolder + "/" + localize( '$$$/JavaScript/ScriptEventsManager/Title=Script Events Manager' ) + ".xml" )
f.remove()