Enabling Draw tool on multiple OS devices
- November 15, 2023
- 1 reply
- 1264 views
I've been reading answers on how to enable/select the drawing tool in an Acrobat Form but I am still unable to select it. I've been trying to use both app.execMenuItem("Annots:Tool:InkMenuItem"); but none of them seem to select it. I'm also failing to find a list with the in-app tool names so that I can test with different names and tools. After whitelisting the tool like it is instructed in https://community.adobe.com/t5/acrobat-sdk-discussions/how-to-whitelist-quot-app-execmenuitem-quot-annots-tool-inkmenuitem-quot-quot/m-p/9575155 it works but it does so only on my computer. Can you provide some advice or guidance?
I want to create a "Sign" button that will select the draw tool so that the user can input his signature on the form-document. This is intended to work on a Windows PC and an iPad. It would be great if it can be setup to work on all OSs and both Acrobat Pro and Acrobat Reader.
I've attached two types of solutions. One with JS and one with Submit action.
PP. Is there a way to get the email from the email field with the submit action without using a Script? What's the difference between the Mail Form button script and the Today button script? Mail Form doesn't work on reader and as I understand it JS scripts don't work on Acrobat Reader but the Today button works on both.
