I have searched and read myself "blind" trying to find what must be a great secret: How do I create a field with JavaScript, specifically a combo box?
I've printed and read the old Acrobat 7 JavaScripting Guide and Reference, and now the Acrobat 9 Help located on the adobe.com site. I find all kinds of examples of code to create different types of fields. But I can't seem to find the instructions that tell me where to put the code.
My big question is: Where does the code go? I've tried unsuccessfully putting it in a function going through the Advanced, Document Processing, Document JavaScripts menu. Am I just missing "the forrest for the trees?"
About where to put it: that depends on when you want it to execute. If you just want to test it out, or run it once, use the console. If you want it to be available at all times and for multiple files, place it in a folder level script, attached to a menu item. There are many options, depending on what you want to achieve.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com