Copy link to clipboard
Copied
Hello,
I'm attempting to create a button in acrobat that will also work within reader dc.
I want to be able to click a button and it selects the pen/pencil tool.
I seem to be able to get it to work in acrobat 9, but it doesn't follow across to Reader.
Is there document javascript I could include to make this work?
Is there also any scripting I could use to set the colour of the pencil?
The only way I'm aware of doing that is by executing that menu item, but since it doesn't appear in the list it might have been an undocumented feature, and as such likely to get broken between versions, if the name changes.
And it's not possible to set the default color used by the pencil.
PS. I'm moving your question to the Acrobat JavaScript forum.
Copy link to clipboard
Copied
The only way I'm aware of doing that is by executing that menu item, but since it doesn't appear in the list it might have been an undocumented feature, and as such likely to get broken between versions, if the name changes.
And it's not possible to set the default color used by the pencil.
PS. I'm moving your question to the Acrobat JavaScript forum.