11 Replies Latest reply on Nov 12, 2017 10:59 AM by Stefan Barkey

    AppleScript do script to run a JavaScript

    Level 1
      I have a mac program that uses an AS do script to run a JavaScript. However, although the AS starts ID it never gets to trigger the JavaScript which is there to build a page. My AS do script is like this:

      on run {aScriptPath}
      tell application "Adobe InDesign CS3"
      do script alias aScriptPath language javascript
      end tell
      end run

      Why does the JScript not run?