I'm writing a script and i want it to have a "browse" button so i can choose e file in a file browser.
I checked out InDesign's dialog elements and i couldn't find it.
Maybe something like this:
var myFile = File.openDialog ("Select file",undefined,false);
if(myFile != null)
alert ("File selected: " + myFile.fsName)
alert ("No files selected!");
Hope that helps.
Retrieving data ...