Hello,
I would like to launch a specific dynamic stamp with Javascript .
In Adobe Acrobat it can be done by getting the name of the stamp with app.listMenuItems() executed in the console window and after with app.execMenuItem
For example: app.execMenuItem("Annots:Stamp:#xcmjhPlMZvWryNqG65Rq9A").
Unfortunately app.listMenuItems() does not return any value in the PDF XChange Editor console window.
Is there a way to get the available menu item names in PDF XChange Editor in order to access them through Javascript ?
many thanks.
Accessing Menu Items with Javascript
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Accessing Menu Items with Javascript
Hello Dror,
Are you sure that you are in a right thread? This is a Core SDK thread, and judging from what you need, you probably need the End-User Editor forum.
Cheers,
Alex
Are you sure that you are in a right thread? This is a Core SDK thread, and judging from what you need, you probably need the End-User Editor forum.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ