Not looking for app.browseForDoc() function. This one only gets the files. I am looking for a way to bring up the Folder selection box so a user can select the folder location where a list of files are kept and then have a simple script to loop through the folder selected and combine them into one document.
Does anyone know how to do this?
Acrobat JS doesn't have that capability. The only way you can get a list of files in Acrobat is if you run an Action over the folder.
You can't. But you can capture the paths of the files it is processing.
You can't. This code was not written for Acrobat and will not work in it.
You can't. But you can capture the paths of the files it is processing.- so how do you do this?
Run the Action on the files and then you would be able to access the path of each one using the path property of the Document object. You can save those paths into a global variable and access them later on.
Can you give an example?