I am having trouble calling a function from the document level. I wrote a document level function. Then I created another document level script that would call that function every time the pdf opened. However, acrobat (Not livecycle) keeps telling me that my function is not defined.
The kicker is that if I call the same function, in the exact same manner from a button - it works fine.
What is going on here?
please help.
You might also try moving the code that calls the function to the Page Open Action for the first page in the doc.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script