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

Browser / Acrobat intercommunication brwsr2acroJS

Pierre
Registered: Sep 15 2008
Posts: 5

Hello,

I tried your example :
http://www.windjack.com/WindJack/Browser2PDF/brwsr2acroJS.htm.

In this exemple you send four String, in a message, to the PDF to one zone named "Status".

How to do, to send the same strings (String#1, String#2, String#3, String#4), but now to four separated zones (Status#1, Status#2, Status#3, Status#4).

Thank for your help.

My Product Information:
Acrobat Pro 9.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The message passing between the HTML and the PDF is done with message handlers on both sides. It is the message Handlers that decide what to do with the data that is passed back ane forth. To fill in 4 fields (not zones) you'll need to learn a bit about Acrobat and PDF.

You can download and examine the PDF and the HTML pages to see the code that sets up the message handlers. On the PDF side, lookup the "HostContainer" object in the Acrobat JavaScript Reference.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script