Execute JavaScript via Applescript
Hi
There is a way to execute JavaScript via Applescript in InDesign using do script
tell application "Adobe InDesign CC 2014"
activate
do script "Macintosh HD:Applications:MAMP:htdocs:extendscript-library.org:tests:test:fixtures:helper:log:test_log.jsx" language javascript
end tell
Since command do script doesn't work for Illustrator, Is there a way to tell via AppleScript to:
1. Execute Script from custom location (⌘cmd + F12)
2. Pick the script to be executed by name
Perhaps there is other work around to do this? Any support via OS X JavaScript?
