Skip to main content
Known Participant
July 28, 2022
Question

.jsx scripts open in ExtendSscipt instead executing when called from the command line

  • July 28, 2022
  • 1 reply
  • 213 views

I've written a few ExtendScript scripts to perform applying camera raw presets to multiple files. These scripts are called by a python app.

Last week everything was working perfectly. Then my hard drive crashed.  Now I've got up and running again the scripts no not run when called by python. Instead they open in the toolkit editor.

 

How can I make them execute with a line like:

C:\myscript.jsx

.I know I can do something like 

"C:\path_to_bridge\bridge.exe" -r "C:\path_to_my_script\myscript.jsx"

 but this doesn't solve my problem.

 

Thanks

This topic has been closed for replies.

1 reply

Legend
July 28, 2022

I'm not sure what the Python operator would be but maybe eval or execute rather than open.