Skip to main content
Inspiring
October 1, 2018
質問

Folder selection box - How to bring it up using Javasript

  • October 1, 2018
  • 返信数 9.
  • 1222 ビュー

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?

このトピックへの返信は締め切られました。

返信数 9

try67
Community Expert
Community Expert
October 1, 2018

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.

Garfield1!作成者
Inspiring
October 1, 2018

I know that the Action has a Folder selection object and then you can run a javascript right after.  How do you capture what folder option the user selected?

try67
Community Expert
Community Expert
October 1, 2018

You can't. But you can capture the paths of the files it is processing.