8 Replies Latest reply on Jan 30, 2012 7:06 AM by Muppet Mark

    Saving file to current user's local settings folder both in windows and Mac




      Could you please help me for the following :


      We need to write javascript to read some data from Indesign file and save it as a text file in current user's local folder both in Windows and Mac.

      We are using CS4 version.


      1. How to get the path of current user's local folder to save the file in both windows and Mac?

      2. We need to write a common javascript code for both Windows and Mac. How to identify the Operating system in script?