Skip to main content
Known Participant
December 23, 2016
Question

Calling plugin function

  • December 23, 2016
  • 2 replies
  • 428 views

Hello,

I want to call a function from .api plugin.

For example, If I created a plugin to open a PDF document in Acrobat or Acrobat Reader then I want to call that function from other application(might be written in c or java etc).

Can you please tell me how can I achieve this?

Thank you in advance!

Regards,

Navnath

This topic has been closed for replies.

2 replies

Legend
December 23, 2016

The IAC documentation describes a method of invoking a menu item from its internal name. Remember that the internal name should start with your company's registered prefix to ensure uniqueness.

Legend
December 23, 2016

Only a plugin can call a function in another plugin using the HFT mechanism. All functions in a plugin are run from inside Acrobat, not outside. With ingenuity you can externally trigger an event inside Acrobat that in turn calls a function in a plugin. Perhaps simplest is for the plugin to register a menu item, which an external app can trigger with IAC. Note that Acrobat must run interactively, not in a service or server.

Known Participant
December 23, 2016

Hello,

Thank you for your reply.

Can you please tell me how can I trigger events externally to manipulate the PDF documents?

Any link or example will be helpful!

Thanks & Regards,

Navnath