Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Stinky The Clown

(67,799 posts)
Thu Nov 7, 2013, 01:44 PM Nov 2013

For anyone who is skilled with Acrobat 10 or higher . . . . .

I have been trying to make a dynamic stamp that inserts my identity, the date, and the time. I have been partly successful in that a sample I found on the internet allowed me to return tine and date. I can't find the JavaScript to return my name.

All I actually need is just the proper line(s) of code to enter into the text form field.

I don't think it matters, but I am using a Mac.


TIA!

5 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
For anyone who is skilled with Acrobat 10 or higher . . . . . (Original Post) Stinky The Clown Nov 2013 OP
Acrobat Pro? CurtEastPoint Nov 2013 #1
Heh! No problem. Stinky The Clown Nov 2013 #5
What does your javascript code look like? n/t PrestonLocke Nov 2013 #2
Please see my post, below Stinky The Clown Nov 2013 #4
I managed to get it working. Here is the script I used. Stinky The Clown Nov 2013 #3

CurtEastPoint

(18,644 posts)
1. Acrobat Pro?
Thu Nov 7, 2013, 01:56 PM
Nov 2013

I just brought up the stamps palette and right clicked a stamp and selected edit identity.
Is that what you mean? I'm on a corporate machine, if that makes a difference.

Sorry....just re-read your post and my answer is total rubbish!

Stinky The Clown

(67,799 posts)
3. I managed to get it working. Here is the script I used.
Thu Nov 7, 2013, 05:37 PM
Nov 2013

event.value = "By " + identity.name + " at " + util.printd("h:MM tt, mmm dd, yyyy", new Date());

I have _NO_ idea how this works, but it does. I managed to find a sample on the innertubes and adapted it to work.

if anyone has a better script, I am all ears.

If anyone knows how to make a script that asks for operator input, I'd like to know that next. I want to be able to use a standard stamp but check one of a series of check boxes within the stamp. Radio buttons would be good.

Latest Discussions»Help & Search»Computer Help and Support»For anyone who is skilled...