folder list by javascript code

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

amrkamal63
User
Posts: 6
Joined: Mon Jul 29, 2019 11:21 am

folder list by javascript code

Post by amrkamal63 »

Hi, every one
I have a question , is it possible to get a list of files in a folder using a javascript ,
as I have a list of files I need to process from a javascript code from within the pdf-editor ?
or it is not possible for security reasons ?
many thanks in advance
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8616
Joined: Wed Jan 03, 2018 6:52 pm

Re: folder list by javascript code

Post by TrackerSupp-Daniel »

Hello amrkamal63,

I do not believe that it is possible to do this with JS alone in the Editor, for security reasons as you said, however if you are needing to perform actions that the editor can accomplish, in a batch to a series of files. You may wish to take a look at our PDF-Tools batch processing utility instead, as it offers many of the same functions that the editor does, along with custom functions, and folder monitors to automate the process.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com