7 Replies Latest reply on Oct 1, 2011 2:58 PM by Harbs.

    app.doScript is not a function

    cmeira Level 1

      CS5, Win7/64

       

      Hello,

      executing/debugging following test script:

      #target Photoshop
      var myVbScript = 'msgbox("hello world")';
      app.doScript(myVbScript, ScriptLanguage.visualBasic);
      

       

      ... produces this error message:

      app.doScript is not a function
      

       

      Executing a VBS file only with the line msgbox("hello world") works.

       

       

      What's wrong with my script (or my environment)?

       

      Thanks

      Carlos

       

      http://h6.abload.de/img/shot_11-09-28_001p71k.jpg