Copy link to clipboard
Copied
I am trying to run a script to see if media encoder is currently encoding. I run it from the debugger in vs code and it works fine. but when i try to run it in terminal with:
"/Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023" --console es.processFile "~/Documents/readProg.jsx"
All i get is this error:
objc[11490]: Class CustomWKWebView is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e690) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af69f0). One of the two will be used. Which one is undefined.
objc[11490]: Class NativeBrowser is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e6e0) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6a40). One of the two will be used. Which one is undefined.
objc[11490]: Class HttpRequestDelegate is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e730) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6a90). One of the two will be used. Which one is undefined.
objc[11490]: Class CertificateVerifier is implemented in both /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/Frameworks/Registration.framework/Versions/A/Registration (0x14d04e7a8) and /Applications/Adobe Media Encoder 2023/Adobe Media Encoder 2023.app/Contents/MacOS/Adobe Media Encoder 2023 (0x107af6b08). One of the two will be used. Which one is undefined.
any ideas?
These are not errors related to your script. What you see is diagnostic output in the terminal.
Either remove the quotes around your path or provide a full absolute path. Command line does not replace the home directory in quoted "~".
Copy link to clipboard
Copied
These are not errors related to your script. What you see is diagnostic output in the terminal.
Copy link to clipboard
Copied
I've seen that answer, but in that case why does it not work? it works fine from VS Code. the only thing in the script is to alert("hello"); Am I running this incorectly?
Copy link to clipboard
Copied
Either remove the quotes around your path or provide a full absolute path. Command line does not replace the home directory in quoted "~".
Copy link to clipboard
Copied
This does not work, AME will not respond or print to the terminal.
Unfortunately you'll need to find another solution.
Copy link to clipboard
Copied
Can you please post your script and the way you call it?