Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Jul 24, 2016 Jul 24, 2016

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 !

TOPICS
Acrobat SDK and JavaScript
2.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2016 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2016 Jul 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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2016 Jul 25, 2016
LATEST

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines