Copy link to clipboard
Copied
Hi,
I have created a macro in a program called Winautomation, makes it possible to automate certain windows actions.
So I created one to automate some tasks in Adobe Acrobat but now is the question how I can easily use them in Acrobat.
You can assign hotkeys to trigger the robot. You can also export them as a exe file.
Problem in Acrobat: EXE files is not possible to open because of security reasons.
Would there be a possibility to make a button that assigns a javascript that evokes a hotkey? For example: "CTRL+ALT+SHIFT+F10"?
thanks!
That's not the only solution. I'd strongly suggest that you rethink your approach entirely. Acrobat DC has some great automation tools with Acrobat Actions where you won't be dependent on sending keystrokes to the application that end up popping up a dialog you weren't expecting. You have much better control with Actions and JavaScript.
Copy link to clipboard
Copied
No. You can only execute those menu items that have a name and are within the set of allowed menu items for a certain privilege level. See here for a tutorial: https://acrobatusers.com/tutorials/print/executing_menu_items_from_javascript
Copy link to clipboard
Copied
Hmm that is too bad.
so the only solution would be to find a external custom toolbar? Any suggestions?
Copy link to clipboard
Copied
That's not the only solution. I'd strongly suggest that you rethink your approach entirely. Acrobat DC has some great automation tools with Acrobat Actions where you won't be dependent on sending keystrokes to the application that end up popping up a dialog you weren't expecting. You have much better control with Actions and JavaScript.
Copy link to clipboard
Copied
tjah,
javascript activation yes, but Adobe won't activate a exe file so that's a situation I would think
Find more inspiration, events, and resources on the new Adobe Community
Explore Now