0
Community Beginner
,
/t5/indesign-discussions/how-to-execute-jsx-script-from-terminal-window-shellscript/td-p/12445565
Oct 12, 2021
Oct 12, 2021
Copy link to clipboard
Copied
Hi All,
I have a JSX script that is for generating pdf files from InDesign documents. I want to execute this script through terminal command or Shell scripting.
Could anyone help me on this.
Thanks.
TOPICS
How to
,
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Oct 12, 2021
Oct 12, 2021
Hi,
Did you try the solution from the following link
Community Expert
,
/t5/indesign-discussions/how-to-execute-jsx-script-from-terminal-window-shellscript/m-p/12445598#M448411
Oct 12, 2021
Oct 12, 2021
Copy link to clipboard
Copied
Hi,
Did you try the solution from the following link
Best regards
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advisor
,
LATEST
/t5/indesign-discussions/how-to-execute-jsx-script-from-terminal-window-shellscript/m-p/12453909#M449032
Oct 15, 2021
Oct 15, 2021
Copy link to clipboard
Copied
Hello @ad_ind38716857,
This works on Mac OS, you will just need to change the file path and name of the .jsx file.
osascript -e 'tell application id "com.adobe.indesign" to do script (posix file "/Users/User-Name/Desktop/Your-Script.jsx") language javascript'
Regards,
Mike
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

