JavaScript Doc/Open event?

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

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

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

JavaScript Doc/Open event?

Post by wilcoxon » Sat Jul 13, 2019 2:12 am

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: 2307
Joined: Wed Jan 03, 2018 6:52 pm

Re: JavaScript Doc/Open event?

Post by TrackerSupp-Daniel » Mon Jul 15, 2019 7:12 pm

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,
Daniel McIntyre
Support Technician
Tracker Software Products (Canada) LTD

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply