Page 1 of 1

JavaScript Doc/Open event?

Posted: Sat Jul 13, 2019 2:12 am
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?

Re: JavaScript Doc/Open event?

Posted: Mon Jul 15, 2019 7:12 pm
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,