1 Reply Latest reply on Sep 19, 2012 2:44 PM by Peter Kahrel

    Get path details with script

    Archaic Gentleman

      From an absolute beginner in both InDesign and java scripting . . .

       

      With an InDesign CS6 document already open on my PC . . . can I get the path out of the opened file and save some/all the route folders/sub-folders and document name as variables with javascript?

       

      Path is like this:-

       

      \\mainserver\PDFWorkflow\Ads\County\GDS\InDesign\Adverts\225501IP.indd

       

      Why? Because I want to write a script that gives me a Place dialogue box using some of the variables from the original path.

      Place dialgoue script would have a path something like this:-

       

      \\mainserver\PDFWorkflow\Ads\variable\GDS\InDesign\Resources\variable