Skip to main content
Participating Frequently
June 15, 2021
Question

how to put stamp via script (vba or c# or JS) or stamp "on mouse" using script

  • June 15, 2021
  • 1 reply
  • 1970 views

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?

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
June 15, 2021

This is not possible with JS, since clicking the page does not trigger any events.

Dawid5CE9Author
Participating Frequently
June 29, 2021

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/

try67
Community Expert
Community Expert
June 29, 2021

fantastic, work fine! - last question, its possible to set "pin" just only for one/specific stamp? <can be via JS> 

how do you think?


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.