Skip to main content
Inspiring
October 22, 2018
Question

Executing document level javascript from folder level javascript

  • October 22, 2018
  • 2 replies
  • 314 views

Adobe Acrobat - how to Execute document level javascript from folder level javascript

This topic has been closed for replies.

2 replies

Inspiring
October 22, 2018

If you want to invoke a function that's defined in a document-level JavaScript, and you have or can get a reference to the document that contains the code, you can invoke it like this in folder-level code:

// oDoc is a reference to the document that contains the "demo" function

oDoc.demo(arg1, arg2);

I included arg1 and arg2 just as an example.

Bernd Alheit
Community Expert
Community Expert
October 22, 2018

You want execute a function?