How can I add a watermark via JavaScript which includes the current timestamp?

Part of my daily work process here is to analyze in a huge stack of incoming mail. I then OCR scans, delete the white pages and add a watermark. I have a batch set up for the first two steps, but I can't make a watermark for the datestamp himself and had to do so via JavaScript, but I a luddite-level understanding of it.

Right now, these are my settings that I use to add the timestamp:
datestamp field.jpg

What I want to do is to run a script to do the same and insert the date of the day I mm-jj-aa currently, but I don't have the first clue of where to start. Any help you could provide would be very appreciated

You can use the method doc.addWatermarkFromText () as a step in JavaScript in Action.

for example

var dt = new Date();

stoday var = (dt.getMonth () + 1) + '-' + dt.getDate () + '-' + dt.getFullYear ();

this.addWatermarkFromText({)

cText: 'Deposit\r' + stoday,.

nTextAlign: app.constants.align.right,

nHorizAlign: app.constants.align.right,

nVertAlign: app.constants.align.top,

nHorizValue:-72, nVertValue:-72

});

See the SDK help files for more information on what do all the settings.

Tags: Acrobat

Similar Questions

  • How can I add a watermark to my existing PDF document?

    How can I add a watermark to my existing PDF document?

    Hi watermarkquestion,

    Please see Acrobat help. Add a watermark to a PDF file for more information on the tattoo of a PDF file.

    Best,

    Sara

  • How can I add "Shut down" as an option for the action of the Power button if it is not available

    How can I add "Shut down" as an option for the action of the Power button if it is not available.

    Hello

    Welcome to the Microsoft Community and thanks for posting the question. Looks like you want to add shut down as an option for the power button.

    Visit this link and try the steps mentioned:

    There are two ways to change what happens when you press the power button on your computer. You can change what happens when you press the power button on your computer case (or the edge of your laptop) and you can change what happens when you press the close button in the start menu.

    Change what happens when you press the power button on your computer

    http://Windows.Microsoft.com/en-us/Windows7/change-what-happens-when-you-press-the-power-button-on-your-computer

    Hope this information helps. If you have questions to answer us and we will be happy to help you.

  • How can I add a "open a file" button on the Adobe Reader toolbar?

    I prefer to have a button on the toolbar that I sometimes forget the control + O shortcut. Looks like a major omission. How can I add that?

    Just right-click the toolbar, and then select file - open... It will add the icon open on the left side of the toolbar.

  • How can I download a template of a page in the current site, what I'm getting?

    How can I download a template of a page in the current site, what I'm getting?

    Yes, that's correct. I was talking to copy the content of the template to another page, as a workaround, you can check the links I've included in my previous answer.

    Thank you

    Sanjit

  • I just learned of outlook express spell corrector English glitch. Can you recommend a spell checking program which includes the grammar?

    I just learned of outlook express spell corrector English glitch.

    Can you recommend a spell checking program which includes the grammar?

    I'm distraught beyon. Thanks much worm... It took entirely too long to get to this point.

    Thank you again... Sophie - KKJ

    Hi desertcanndie,

    Follow the steps in the article.

    Spelling checker does not work on the message in Outlook Express 5

    You no longer have the correction spell checking capabilities in some languages in Outlook Express 6.0 after you install the Microsoft Office 2007 or Office 2010 system

  • How can I add a background to a video of the screen I recorded from my iPhone in iMovie?

    I recorded a record on my iPhone using my macbook and quicktime on the screen. When you change this video in iMovie how can I add a background on the left and right sides. I want the prettier for downloading Youtube video.

    Thank you

    Brandon

    Have you tried the image of image in iMovie?

    You could add the background element you want the main video track, then drag your recording on the screen the second piece with overlays. Select the effect of the image in the image, and then drag the corners resize to adjust the size of your video clip:

  • How can I add a rule of outgoing traffic in the Windows Firewall for Windows Update?

    How can I add a rule of outgoing traffic in ICF for Windows Update?

    Please do not ask me to change the firewall policy. My default policy for outbound connections is 'block '. Many programs to connect to internet without attention users and consumes bandwidth so I limited firewall to block strategy, but the Microsoft Update or the Windows update service is not running.

    Please suggest the creation of a rule of outgoing traffic in "Windows Firewall with advanced security" to allow Windows Update.

    This is not a third-party firewall program.

    This is a duplicate of http://answers.microsoft.com/en-us/windows/forum/w/fw/7f9c04c1-5216-47d9-9de3-64cc19eb796d with an additional constraint of the firewall rule creation. My version was not on a list of exceptions. "Windows Firewall ships with this version of Windows and should already include these sites in the exceptions list.

    'AA '.

    Not a duplicate of the 2012 wire that was bound to win 7 and you are running 8.1 firewall should already have an update exception.  If it does not please a snip of the outbound rules in your next post.

  • How can I add sites to my 'reading list' of the desktop version?

    Kindle has this add-on for Firefox called desktop version 'send to Kindle', where I simply hit Ctrl + K and then I would have the current Web page stored on my Kindle. Very handy when I travel to work without connection.

    How can I do this with my Tablet and Firefox for the Android playlist feature?

    We do not have this feature at the moment. We can add it as part of the new sync that we work on.

  • How can I add a stereo or mono mix to the sound engineer - Satellite Pro A100-196

    I can't find this option in my settings of the sound, no mono or stereo under record?
    is it possible to add this feature to my laptop?
    or is it possible to do to the sound settings to make them?

    Hello

    Can you please tell us what how you save the music? You want to import from an external device? If so how is it connected to your laptop?

  • How can I add some radio buttons and textbox on the Web

    Hi friends,

    I have a few critical requirements for my application:

    1. There should be a background image.

    2. I need to have 2 radio buttons and a text box. where the user is allowed to give feedback.

    How can I achieve this requiments.

    What ui component I need to use: form or canvas.

    If form, so how can I set the background.

    How can canvas, I add the boxes to option and TextBox.

    can someone suggest me please.

    Thank you

    Maury.

    Thank you very much for your answer.

  • How can you add more options of basic research for the Service Profile Configuration Directory profile

    In the CUCM, under Service Profile Configuration.  I created a service profile.  In the profile directory section, I can only have 3 Research Bases.  I have 6 domains I have to link them.  They are in a forest.  How can I extend the search to users?

    It is with regard to the Jabber Clients.  I can't find the users in the second research base.

    IN the LDAP authentication, it allows only 2 additional redundant LDAP servers.  Why not add each of them?

    Thank you

    Cathy

    Hi Cathy,.

    Please take a look at the following link: Jabber - config.xml

    I hope this helps.

  • Can we add an SSD via Bay adapter on the W510?

    Hi people,

    Can we add an SSD in the W510 ultrabay housing?

    TIA,

    SD

    What operating system do you use?

    If Vista or XP pro, right click on the my computer icon, click on manage, then you must activate the SSD.

    If you use Windows 7, in the search box, type disk management and activate the SSD to use.

  • How can I add an interactive flash quiz prior to the presenter 9.0

    Currently, we are reviewing presenter 9.0 as it seems to be the only habitable option SCORM TCC existing flash for loading in our LMS. The content is not the issue.  The 'Quiz' for each lesson is created videos interactive flash (files, anything...).

    I want to integrate the quiz on the 9.0 existing presenter content SWF imported before as I have Pack while Scorm 1.2, I hope I don't have hops in still 1,2,3 or several other applications to solve what would be a very simple problem, although flash is involved.

    A short walk...

    (1) start Powerpoint... Content of the file SWF Import (existing, interactive) using plugins presenter...

    (2) add a SWF quiz that refers to the content of step 1

    (3) preset to SCORM 1.2

    (4) package SCORM content...

    There are use of the presenter...

    Thanks for any help...

    You can watch the presenter quiz tools and see if they can meet your needs. Probably not too flashy, but it could work.

    The other application that may be interesting to test is Captivate. It can manage your SWF files reports better... but I have to test it for sure. You should see the same functionality of quiz in Captivate as a presenter as well, if you find a preference in this tool.

  • How can I combine an old file history browsing in the current?

    Several weeks ago my PC C: drive has been replaced, and Firefox has been recreated before I could copy on my old profile to the new drive. Now I want to recover the old browsing history, but of course the new profile already has his own, more recent places.sqlite file, that I don't want to lose.

    How can I combine the two stories?

    It is not possible.

    You cannot merge the history.

    One way to do this would be to use a separate profile and copy the file places.sqlite this profile (file delete an existing places.sqlite-journal).

    Use him copy / paste to copy the elements of the story in a folder of bookmarks in the Menu folder bookmarks.

    Export Favorites to an HTML file and import this HTML file in the current Firefox profile.

Maybe you are looking for