Part of a project requirement I have requires that a PDF form dynamically build a list of PDF files in a local user directory. The files vary from system to system, but the idea is for the user to be able to select a PDF file to open from within a master PDF file.
Any ideas, or examples floating around someone could point me to? Any suggestions appreciated!
Using this JS command you can launch the Open File menu item:
Be aware, though, that in later versions of Acrobat there are security
limitations to this and it needs to be executed from a trusted context.
The security model in Acrobat (and Reader) will allow a script to display a single file selection dialog (therefore the user makes the decision about what file to open), but scripts *CANNOT* read the contents of a directory, which is a prerequisite for creating a list of files to select from.