Is there anyway to execute/compile a .JSX ExtendScript file on an indesign document in headless mode, meaning, without having to open the Toolkit application and Indesign. I'm thinking of a command that could be sent to the toolkit executable to run a particular script on an indesign file. This would be great if event remotely possible for automating certain scripts and not require user interaction.
This is the best I have right now. I also would like to run a script with no interface.
/Applications/Adobe\ ExtendScript\ Toolkit\ CC/ExtendScript\ Toolkit.app/Contents/MacOS/ExtendScript\ Toolkit -run enfocus/indesign/artwork_to_framefile.jsx