JavaScript Doc/Open event?

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

Post Reply
wilcoxon
User
Posts: 4
Joined: Thu Mar 15, 2018 2:31 am

JavaScript Doc/Open event?

Post by wilcoxon »

Adobe SDK specifies that there is a Doc/Open event. However, in PDF X-Change, there is no open event under Document Actions. Am I missing something?

Is Doc/Open supported? If so, how do you set it up in PDF X-Change? If not, how do you trigger JavaScript when a document loads/initializes/opens?
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8610
Joined: Wed Jan 03, 2018 6:52 pm

Re: JavaScript Doc/Open event?

Post by TrackerSupp-Daniel »

Hello Wilcoxon,

Thank you for the excellent question, Javascript contained in the Javascript section of the document properties should attempt to run automatically when the document is opened. I believe this will accomplish what you are looking for:
image.png
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
Post Reply