I want to create an add-on button tool, when the user clicks it displays a popup menu (popUpMenuEx), and this menu list some custom stamps, allowing the user to choose one.
I don't want to place the stamp on the page, I want the user to have the selected stamp on the cursor, so he just have to clic where he wants to place the stamp.
Is it possible?
No. Why not use the built-in Stamp tool, instead? What you can do with a script is apply a specific stamp to a certain position on the page, though, and then the user can move it around, but you can't "pre-select" it and attach it to the mouse cursor.
It's for a team of Acrobat Reader users. Acrobat Reader don't allow to customize the toolbar icons, so they need a quick access to some stamps.
I cannot find any information about this.
No, not possible.
You can force the stamp toolset to appear. You just need the right menu name:
There's no menu item for the stamp tool. There is a quick tool item name called "Stamp", but that doesn't work.
Creating such a tool for Reader is possible.
And you already have the scripts for doing it
I'm not sure if it is covered in the article, but I create the stamp as soon as the user selects the button/menu item, give it 50% opacity, and use a time to move it with the mouse.
OK, thank you guys.
But I talk too much, I told my client, who did not know, that the Stamps palette is directly accessible in the commenting tools. So he no longer needs a script.
Ha ha, The simple obvious solutions are always the best 😉