10 Replies Latest reply on Nov 25, 2016 2:39 AM by DBLjan

    AppleScript do script to run a JavaScript

      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?