Thanks to everyone who's been so helpful on this board, especially try67, who seems to be a pervasive source of wisdom on all things Acrobat scripting related.
I have scripted the addition of a button to the Acrobat toolbar which, when pressed, copies the active document to a network location. It then opens a second PDF, which will ultimately be a form that accepts user input by way of radio buttons, drop downs, text fields and other standard UI elements. This form, when submitted, will create a JDF file (essentially a text-based XML file) to the same location as the PDF, and will then close.
(For those interested, I am automating hot folder submissions of PDFs for preflight, color processing and RIPing to a fleet of large format color inkjets and small format color lasers. The JDF file is being created for cost accounting and inventory management, and to control output options. The PDF and JDF are picked up by PowerSwitch, sent to an instance of Pitstop Server and Alwan CMYK Optimizer, and then to a Fiery XF RIP for the inkjets, and standalone Fiery's for the small format lasers.)
What I'm wondering is, what is the best way to open this PDF form in a new window, with no toolbar, menubar, or window controls?
A few notes:
I am a little hesitant to use the Initial View settings to accomplish all of this. Is there some way to write a script that would live on the document that would hide the menu bar, tool bars and window controls?
Any thoughts are appreciated.