1 Reply Latest reply on Jul 22, 2008 3:07 AM by (Dave_Saunders)

    [IDS CS2]How to get activeScriptPath using javascript?

    KatMus Level 1
      Hi all,

      How to get the active script path using IDS CS2(javscript)
      I tried the following code :

      var mypath=app.activeScript.path;

      but it gives the following error:

      Error Number:30490
      No file is associated with the currently active script.

      Please advise.