Skip to main content
Participating Frequently
June 23, 2020
Question

Return values of the osascript running the ae jsx script.

  • June 23, 2020
  • 0 replies
  • 376 views

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.

This topic has been closed for replies.