1 Reply Latest reply on Apr 16, 2010 10:25 AM by Steven..

    [IDCS4][JS]Pass arguments to JScript from command prompt

    UDevp Level 1

      I used the below command to run script from command prompt, I'm able to run the script but not able to pass arguments to the script.

       

         "C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit CS4\ExtendScript Toolkit.exe" -run "C:\Program Files\Adobe\Adobe InDesign CS4\Scripts\test.jsx"

       

      Any suggestion would be helpful..

        • 1. Re: [IDCS4][JS]Pass arguments to JScript from command prompt
          Steven.. Level 3

          Are there other command line options with extendscript, like compile to jsxbin etc.. Where is this documented?

           

          UDevp wrote:

           

          I used the below command to run script from command prompt, I'm able to run the script but not able to pass arguments to the script.

           

             "C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit CS4\ExtendScript Toolkit.exe" -run "C:\Program Files\Adobe\Adobe InDesign CS4\Scripts\test.jsx"

           

          Any suggestion would be helpful..

           

          It may be possible to edit prefs file with command line and to check file in script.