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

Calling plugin function

New Here ,
Dec 22, 2016 Dec 22, 2016

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

TOPICS
Acrobat SDK and JavaScript
380
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 ,
Dec 23, 2016 Dec 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.

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
New Here ,
Dec 23, 2016 Dec 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

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 ,
Dec 23, 2016 Dec 23, 2016
LATEST

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.

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