Skip to main content
July 24, 2016
Question

AxAcroPDF control, how to use .execCommand .messageHandler .postMessage ?

  • July 24, 2016
  • 2 replies
  • 2795 views

These tempting undocumented commands, how do they work ?

Any way I get send javascript commands through there ? Maybe get a JSObject ?

I'd like to be able to go to a bookmark, or even better search if a specific string exists in the document then show it highlighted to the user (or at least just go to the page where it is )

I also a full version of nuance powerpdf with my work computer however I can't find it's programming API documentation, if it even has one.

I want to make a excel sheet that does the aforementioned tasks but even though I can get adobe acrobat full, I can't get a license for every other PC (thousands of computers here) so my program would be doomed to not work for most users.

I also can't install any other software, but I could bundle files with my excel file so, there are any "portable" control for any other pdf reader that could do what I want, I would love to hear about it !

thanks !

This topic has been closed for replies.

2 replies

Legend
July 25, 2016

Yes, thank you. There is no JSObject nor any other *external* JavaScript API. Think of the Acrobat SDK as a marketing tool for Acrobat, not neat tools for people with only Reader. (With few exceptions).

Legend
July 25, 2016

If they are undocumented they aren't an oversight, there really is no help, support or information. And of course they can change or vanish any time (especially with today's automatic updates). The JavaScript API is very specifically and by design not in the free Reader.

Karl Heinz  Kremer
Community Expert
Community Expert
July 25, 2016

Just to clarify, I am pretty sure that TSN wanted to say that the JSObject API is not in the free Reader (there is of course support for JavaScript as outlined in the Acrobat JavaScript API Reference document).