Christ, Adobe Acrobat is a pain in the arse.
I'm trying to work with it using Javascript. It has a built-in Javascript engine, with a bunch of objects for interacting with documents and menus. The API is horrible, and the console for interacting with it is also rancid.
Consider this snippet from the Acrobat API reference:
if ( ckWord == "
(
Read more... )