Copy link to clipboard
Copied
Adobe Acrobat - how to Execute document level javascript from folder level javascript
Copy link to clipboard
Copied
You want execute a function?
Copy link to clipboard
Copied
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.