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

Command line or Applescript execution Extendscript for Media Encoder

New Here ,
Dec 24, 2023 Dec 24, 2023

Copy link to clipboard

Copied

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-...), 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.

TOPICS
How to

Views

117

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

correct answers 1 Correct answer

Adobe Employee , Jan 16, 2024 Jan 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?

Votes

Translate

Translate
Adobe Employee ,
Jan 16, 2024 Jan 16, 2024

Copy link to clipboard

Copied

LATEST

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?

Votes

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