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

Return values of the osascript running the ae jsx script.

Community Beginner ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

Hi. everyone.

Now i used the osascript to run the jsx script on the terminal. 

osascript -e 'tell application "/Applications/Adobe After Effects 2020/Adobe After Effects 2020.app/Contents/aerendercore.app" to launch' -e 'tell application "/Applications/Adobe After Effects 2020/Adobe After Effects 2020.app/Contents/aerendercore.app" to DoScriptFile "jsx_path"'

 When it succeeds, it returns the 0.

And when "Connection is invalid. (-609)" occurs, it returns 1.

I want to handle the all success/fail cases by the return value of the command.

Could you please list the all the possible return values of the command?

Or if you have reference article, that will be great help for me.

Please help if you have any idea.

Thank  you.

TOPICS
Crash , Error or problem , Expressions , Freeze or hang , Scripting

Views

284

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
no replies

Have something to add?

Join the conversation