0 Replies Latest reply on Jul 5, 2011 9:37 PM by sivaciti

    How to pass parameters in myApp.doscript()

    sivaciti Level 1

      myApp.doScript(

      VariableTypeUtils.createFile("C:\\Program Files\\Adobe\\Adobe InDesignCS5.5\\Scripts\\ScriptsPanel\\Samples\\JavaScript\\CreateImage.jsx"),

      OptArg.makeScriptLanguageEnum(kScriptLanguageJavascript.value),

      OptArg.makeVariableTypeSeq(params),

      OptArg.makeUndoModesEnum(kUndoModesEntireScript.value),

      OptArg.makeString(null));

       

       

       

      when i am running this code i am getting the exception NUllpointexception.

      please suggest me how to pass parameters in myApp.doscript().

       

       

      Thanks,

      Siva