• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

script event manager error

New Here ,
Mar 22, 2022 Mar 22, 2022

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.

 

screen.PNG

TOPICS
Actions and scripting , iPadOS , macOS , SDK , Windows

Views

145

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 23, 2022 Mar 23, 2022

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? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Mar 23, 2022 Mar 23, 2022

Copy link to clipboard

Copied

LATEST

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()

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines