5 Replies Latest reply on Jun 3, 2016 3:34 PM by mrapelje

    how to get docs full path without a "~"

    mrapelje Level 1

      My file is here:

           "C:\Users\first.last\Desktop\PS_Tester\SRC\Work.psd" 

      Note that doc is on the desktop (Windows).

       

      This code:

              var MyTest = activeDocument.fullName;

              alert(MyTest);

       

      Returns:

           "~/Desktop/PS_Tester/SRC/Work.psd"

       

      I would like and expect it to return the actual path with the "C:\Users\first.last" and not the "~".

       

      When I pass the ~Path to another app madness occurs.

       

      Or is there a way to get what the tilde represents?