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

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

Community Beginner ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

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

Views

29

Likes

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
Community Expert ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

LATEST

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

Likes

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