2 Replies Latest reply on Mar 7, 2011 12:17 PM by Loic.Aigon

    Binary and app.activeScript issue

    Loic.Aigon Adobe Community Professional

      Hi all,

       

      I am trying to get a script running. The syntax looks like :

       

      #targetengine "foo"

      var scpt="@JSXBIN@ES@2.0@MyBbyBnAge...";

      app.doScript(scpt);

       

      I get an error and it seems to be related to the use of app.activeScript.parent in the binary script.

       

      //In the binary

      //Script folder
      var scriptFolder = Folder(app.activeScript.parent);

       

      Is it something known or me doing something bad ?

      Is there a workaround, would it be better to do drastically different ?

       

      TIA for any input

       

      Best,

       

      Loic