Skip to main content
Zee333
Inspiring
September 10, 2025
Question

Javascript and Action Panel miscommunications

  • September 10, 2025
  • 1 reply
  • 555 views

Hey everyone, my actions that are linked to javascript files now sometimes have a "Javascript code was missing" error message when I run them as buttons. when I run them out of button mode they work fine and if I press the button again after the error sometimes it runs the code (sometimes I have to press the button 4 times and get the error 3 times and it runs the fourth).

 

I am running photoshop 26.10 on Windows 11

 

I have tried:

Re-recording the action so I know it has the correct path to the js file

Resetting my preferences

Restarting Photoshop

Restarting my computer

Reinstalling Photoshop

Disabling 3rd party plugins

Reistalling the action set

 

I have also been getting "Could not complete your request due to a program error" when I run Automate>Batch>JavascriptAction with "Save and Close" on but I'm hoping fixing the action buttons will resolve this too.

 

I don't think it's a permissions issue or a file path issue if playing the action works but the button mode does not (or not at first). 

 

Has anyone experienced this or knows how to fix it? 

let me know if any further info would help.

Thanks,

Zee333

1 reply

Legend
September 11, 2025

Are these scripts installed in the scripts folder?

Zee333
Zee333Author
Inspiring
September 11, 2025

They are in a folder I made in "\Program Files\Adobe" because I have used them for actions on different versions of photoshop and need the file path to stay consistent

Legend
September 11, 2025

I'm guessing that's the issue. Try installing for each version in the relevant scripts folder and see if things work. I use scriptiing heavily, including many called from actions, and don't see this problem.