Skip to main content
Participant
December 24, 2023
Answered

Command line or Applescript execution Extendscript for Media Encoder

  • December 24, 2023
  • 1 reply
  • 400 views

Is there a way to execute Extendscript from outside of Media Encoder? Namely to get the render queue and statuses from something like an external app running Node or Python?

 

I've tried the following Applescript with no luck:

 

set filePath to "test.jsx"
tell application "Adobe Media Encoder 2023"
  do script filePath
end tell

 

The error I get is:

 

applescript.scpt:76:82: script error: Expected end of line but found “script”. (-2741)

 

When I try to run the following example code on the scripting site (https://ame-scripting.docsforadobe.dev/guide/index.html#what-is-a-good-starting-point-to-understand-the-scripting-objects), I get errors.

"/Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023" --console es.processFile ~/Development/test.js

 

The errors:

 

objc[90684]: Class CustomWKWebView is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x13626a668) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x102ac33e8). One of the two will be used. Which one is undefined.

This topic has been closed for replies.
Correct answer eckiAMETeam

This documentation is correct: https://ame-scripting.docsforadobe.dev/guide/index.html#how-do-i-run-scripts-in-ame
What you see is only log output from AME in stdout. You can ignore that.
Can you post the script you are using?

1 reply

eckiAMETeamCorrect answer
Adobe Employee
January 16, 2024

This documentation is correct: https://ame-scripting.docsforadobe.dev/guide/index.html#how-do-i-run-scripts-in-ame
What you see is only log output from AME in stdout. You can ignore that.
Can you post the script you are using?