Hi try67:
I saw your post re: browse folder, tried your suggestion, and can't get it to work. When I browse to the folder I need and select the file to open, it comes up blank.
What I'm trying to do is have the script open the window at a specific folder, allow me to pick the template file I need, and open it on click.
This is what I have so far. What am I missing?
myFolder=Folder("/K/Presentations/Presentation Header Templates");
myMask="*.indd";
myDocs="K:\Presentations\Presentation Header Templates";
myFile=myDocs.openDlg("Select File to Open", myFolder+"/"+myMask, true);
Thanks.
--Esther
Try this:
var myFolder = Folder("/K/Presentations/Presentation Header Templates");
var myMask = "InDesign:*.indd";
var myFile = myFolder.openDlg("Select Files To Open", myMask, true);
If you want to open InDesign templates (indt-files), then change the following line:
var myMask = "InDesign Templates :*.indt";
Thanks for the response, Kasyan. I used your suggestion, but I'm still not getting the results I'm looking for. A window does open allowing me to browse but it opens to the last window that was opened. Also, when I choose a file, it doesn't open it. I'm not using InDesign; I'm trying to run it from Acrobat.
Thanks again.
North America
Europe, Middle East and Africa
Asia Pacific