🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #937

Re: [JS] how to package an InDesign document

#937
From: Kasyan_Servetsky
Date: Thu, 26 Feb 2009 07:27
18 lines
1080 bytes

      Still had some trouble with how to correctly write the file path.




You can find detailed information about it in ‘File System Access’ chapter of JavaScript Tools Guide. Or use this script – it writes the path of the selected folder to console.

Kasyan



var myFolder = Folder.selectDialog ("Choose a Folder"); 
if(myFolder != null){ 
   $.writeln("fsName - " + myFolder.fsName); 
   $.writeln("absoluteURI - " + myFolder.absoluteURI); 
}
Technical Details
Message-ID: <59b80ab3.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b80ab3.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,5a211208a2935918
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kasyan_Servetsky@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS] how to package an InDesign document
Message-ID: <59b80ab3.3@webcrossing.la2eafNXanI>
Date: Wed, 25 Feb 2009 23:27:34 -0800
References: <59b80ab3.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit