q335r49 / AcrobatIncrementStamp

Auto-incrementing stamp for Acrobat
8 stars 3 forks source link

Doesn't increment in Acrobat Reader #1

Open scottrobot opened 6 years ago

scottrobot commented 6 years ago

Is there a setting or workaround to get the incrementing to work in reader?

All that is showing is "a", "a" ...

alin89c commented 3 years ago

It depends on what you type in the "initalize state" dialog (the window that pops up when you stamp a document the first time). If you want numbers, type a number (the number that you want to start with).

eirinn1975 commented 2 years ago

Not working for me either. Regardless of what I write in the initial input window, all I get is "a" stamp or "reset". Adobe Acrobat reader version is 21.007.20099

alin89c commented 2 years ago

You need to click the "a" stamp every time you want to add a new stamp (see the GIF at the bottom of this reply).

If you don't like that you have to move the mouse pointer back and forth (to select the stamp), you could automate this with cliclick. Just write a script in whatever scripting language you know and assign that script to a keyboard combination. The command for the suggested command line program should look like this: cliclick -r c:500,300

-r is to make the pointer return to the original location after the automatic click has been executed 500 is the x coordinate 300 is the y coordinate

https://unagechoir.files.wordpress.com/2022/01/stamp.gif

eirinn1975 commented 2 years ago

It's exactly what I'm doing. If I activate the JS debugger I get the following message (Info.aincState number seems to change every time I try to put a new stamp): NotAllowedError: Security settings prevent access to this property or method. Info.aincState:4:App incStamp:Calculate

alin89c commented 2 years ago

Is this option on? (Enable Acrobat JavaScript)

image

eirinn1975 commented 2 years ago

Yes, options are as in your picture

alin89c commented 2 years ago

Are you on MAC or PC? And what operating system? Probably not relevant, but I'm asking so that I know what solution to search for you. I think I also had problems using this stamp, but can't remember exactly how I got my head around.

eirinn1975 commented 2 years ago

Using Windows 10. I was wondering if your pdf works only on acrobat and not acrobat reader?

alin89c commented 2 years ago

It's not my PDF. I'm only a fellow user...

Anyway, I've checked to see if this stamp works on Windows 10 (on my old windows 10 machine), and it worked (without changing any setting). I believe you installed the "Increment.pdf" file in the wrong location. Please repeat the installation process. For Adobe Acrobat 11, the "Increment.pdf" needs to go here: C:\Users\%USERNAME%\AppData\Roaming\Adobe\Acrobat\11.0\Stamps I guess for other Acrobat versions, the path to "Stamps" folder is similar.

I was wondering if your pdf works only on acrobat and not acrobat reader?

AdobeIncrementStamp will not work in Adobe Acrobat Reader.