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

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

Explorer ,
Jul 28, 2022 Jul 28, 2022

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

TOPICS
Scripting
134
Translate
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
LEGEND ,
Jul 28, 2022 Jul 28, 2022
LATEST

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

Translate
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