Copy link to clipboard
Copied
Hi
I would like to put stamp via script on place where I click mouse the mouse, to achieve it can do:
1) getMousePos and calculate it to pdf positions (taking care of zoom/page, etc.) - do you have any of these solutions?
2) after click script, script will automatically put stamp "on mouse" and then I could manually click the place where the stamp should be. The same logic as we already have in Adobe but what I need is to get VBA/C#/JS code to do it. - do you know the method?
Copy link to clipboard
Copied
This is not possible with JS, since clicking the page does not trigger any events.
Copy link to clipboard
Copied
look at this solution: https://www.youtube.com/watch?v=TzeuyO__hgU&t=115s
they put stamp on page just clicking the mouse and I am looking for code "how to put stamp on mouse" (vba/js/c#)
do you have any idea?
Copy link to clipboard
Copied
They're just using the built-in Stamp tool to do it. You can't do that with JS. You can add a stamp to a specific location on the page with it, but you can't "track" the mouse's location. It just doesn't work that way.
Copy link to clipboard
Copied
so the question how to create this one feature
Copy link to clipboard
Copied
The answer is it's not possible with JS. Maybe with VBA/C#. I'm not familiar enough with those languages and what they can (or can't) do in Acrobat.
Copy link to clipboard
Copied
so maybe you know how to find "option or something where you can stamp more than once without having to click the stamp button each time?"
releated topic here, but I do not have this options in my Adobe Acrobat Pro DC (32bit) version
https://acrobatusers.com/forum/general-acrobat-topics/using-stamp-multiple-times/
Copy link to clipboard
Copied
If you click the little pin icon in the Comments toolbar the tool you select will remain selected and you could apply it multiple times in a row.
Copy link to clipboard
Copied
I cannot click - button its visible but not "enabled" - this can by why I cannot see this property even If I click ctrl+e
do you know why its not enabled?
Copy link to clipboard
Copied
It has nothing to do with Ctrl+E. Select the Stamp tool, then press the Pin icon.
Copy link to clipboard
Copied
fantastic, work fine! - last question, its possible to set "pin" just only for one/specific stamp? <can be via JS>
how do you think?
Copy link to clipboard
Copied
Once you select a specific stamp and click the pin icon, that stamp should remain selected.
And no, it can't be done with JS.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more