These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Generate AcroJS from external app

tgifch
Registered: Sep 23 2008
Posts: 2

Hello Experts

Is it possible to generate or have an AcroJS script embedded in a PDF file created for example in Word or Excel? When the PDF document is created the necessary AcroJS commands are sent into the PDF document automatically. Depending on different variables entered in the Word or Excel document the AcroJS script would be different.

Does anybody have any ideas or maybe an example to start me off?

Thanks
Harry

My Product Information:
Reader 9.0, Windows
maxwyss
Registered: Jul 25 2006
Posts: 255
It is a technique from the "olden days of PDF"... It is possible to embed PostScript code using the PDFMARK operator, which is understood by Distiller; I am not sure whether PDFMARK is understood by the PDFMAKER macros, however.

PDFMARK is described in the developer documentation.

Another approach to look at would be using an FDF to "inject" the codes when you serve the document.

Hope this can help.

Max Wyss.