Click to See Complete Forum and Search --> : JavaScript for Adobe Acrobat


eichatcyber
07-22-2003, 12:19 PM
I am creating a JavaScript to run in Acrobat which will act like a batch process. I have had luck creating scripts for similar things in Acrobat but now I am trying to use a plugin during the process and I promted everytime it tries to use the plugin and I have to hit enter. I was wondering if anyone could give me some help on how to make my script automatically hit enter.

Also I have a JavaScript which collapses all of the bookmarks in Acrobat. If possible I would like to know how to make it collapse the bookmarks then open the first one up again.

Thanks, any help will be appreciated

Khalid Ali
07-22-2003, 03:21 PM
are you saying that you want to simmulate ann event trigger with java script..such as a user does not click but you want javascript to perform some tasks as if a user had clicked????

eichatcyber
07-22-2003, 03:38 PM
Exactly, I am using it in Acrobat and I use javascript to edit my pdf's and get prompted to hit OK or Cancel, but I want something that will automatically hit enter and continue so I don't have to "babysit" it as it runs