2 Replies Latest reply on Jul 11, 2008 8:35 AM by Emanuele Radaelli

    Locate user folder...

    Emanuele Radaelli Level 1
      Here I am with my daily ID CS3 JavaScript question...
      Is it possible to locate the path of the user folder within the file sistem where I run my script?

      I need it to save a preferences file but I have to be sure it works both on Mac and Windows...

      I just found "$.fileName" which returns the script path, but I can't write my file there because of folder preferences.

      (I need a path like: "/Users/TommyBoy")

      Thanks in advance guys.