Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now