How can I add a watermark via JavaScript that includes the current datestamp?

Part of my daily work process here is to scan in a huge stack of inbound mail. I then OCR the scans, delete the blank pages, and add a watermark. I've got a batch process set up for the first two steps, but I can't make a watermark for the datestamp itself and need to do so via JavaScript, but I have a luddite-level understanding of it.
As of right now, these are my settings I'm using to add the datestamp:
What I want to do is run a script to do the same thing and insert the current date where I have mm-dd-yy currently, but I don't have the first clue of where to start. Any help you could offer would be hugely appreciated

You can use the doc.addWatermarkFromText() method as a JavaScript step in an Action.
for example
var dt = new Date();
var stoday = (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 information on what all the parameters do.

Similar Messages

  • How can I add a watermark to an iMovie?

    How can I add a watermark to an iMovie? I did it once before but can't remember how I did it.

    for iM08 I would suggest my workaround with a 'transparent png':
    http://karsten.schluter.googlepages.com/im08_logobug
    or, in case you own QTpro, follow my advive here:
    http://karsten.schluter.googlepages.com/watermark

  • How can I add location to a photo that does not have a gps location? On iPhoto it was easy.

    how can I add location to a photo that does not have a gps location? On iPhoto it was easy.

    You can use the Settings in the slideshow to Show Captions,  either the Description filed be display, the Title field or both.
    If you create the slideshow in iDVD from still photos from iPhoto you can add the Description and/or Title via the settings in iDVD.
    Since iDVD adds both automatically the user must go thru the slideshow and remove those items not wanted.

  • How can I add contacts in my iphone that are backuped in a pim file in my pc

    how can I add contacts in my iphone that are backuped in a pim file in my pc

    You have to get them from the file you have into iCloud, google, yahoo, outlook.com, AOL, an Exchange server, or some other service the phone can sync with, or into MS Outlook on your PC. Then you can sync them to the phone.

  • How can I add/change art work to albums where the art work isn't available at iTunes?

    How can I add/change art work to albums where the art work isn't available at iTunes?

    Go to google and search for the artwork.  When you find it, save it to your computer.  Right click the album and select get info.  Drag the image you saved to the empty box for album art.

  • IF_IXML : How can i add encoding with value UTF-8 to the document object??

    Hi
    i want to create a xml file with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
    <?xml version="1.0"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    BUT the document attribut(?) encoding="UTF-8"?> is missing!
    How can i add encoding with value UTF-8 to the document object?? it should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    *here is my coding.
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    DATA: lo_ixml           TYPE REF TO if_ixml,
          lo_streamfactory  TYPE REF TO if_ixml_stream_factory,
          lo_document       TYPE REF TO if_ixml_document,
          lo_parent         TYPE REF TO if_ixml_element,
          lo_ostream        TYPE REF TO if_ixml_ostream,
          lo_renderer       TYPE REF TO if_ixml_renderer,
         lv_rc           TYPE i.
    lo_ixml = cl_ixml=>create( ).
    lo_streamfactory = lo_ixml->create_stream_factory( ).
    lo_document = lo_ixml->create_document( ).
    lo_parent = lo_document->create_simple_element( name   = 'OpenSearchDescription'  "root node
                                                    parent = lo_document ).
    lo_parent->set_attribute_ns( name   =  'xmlns'
                                 value  = 'http://....' ).
    *rausrendern in file
    lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
    lo_renderer = lo_ixml->create_renderer( ostream  = lo_ostream
                                            document = lo_document ).
    lv_rc = lo_renderer->render( ).
    Thanks for help
    Britta

    Use the following code:
    set an document encoding
      l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
                                            byte_order = if_ixml_encoding=>co_none ).
      l_success  = l_ostream->set_encoding( encoding = l_encoding ).
    create a xml renderer
      l_renderer = l_ixml->create_renderer( document = l_doc ostream  = l_ostream ).

  • How can I add a fade or other transitions to the pages of my website?

    How can I add a fade or other transitions to the pages of my website?

    like this :
    http://www.onextrapixel.com/2010/02/23/how-to-use-jquery-to-make-slick-page-transitions/
    Cheer up !

  • How can I add photos to a video without interrupting the sound of the original video?

    In PE11, How can I add photos to a video without interrupting the sound of the original video?

    RLHeflin
    Thanks for getting your details posted. Good job.
    You further explained
    I am simply wanting to “overlay” a new visual element without disturbing the underlying audio.
    A classical way to do a Premiere Elements Overlay is to hold down the Ctrl key of the computer main keyboard and drag the new clip over the area of the one you want to replace on the Timeline. That should not do anything but replace one portion of the video on the Timeline. No change in duration video or audio track if you are dealing with video linked to audio.
    If you hold down the Alt key of the computer main keyboard, I am envising a scenario where you want to add to (not replace) some Timeline content.
    A just in case note, if you have video on Video 1 and 2 and the video in 2 does not have transparent areas in it, then all you will see is the Video 2 content. I believe that Hunt eluded to that concept as a possible technique for what you might be doing.
    Another just in case, if you have not seen the following Adobe documentation on arranging clips, you might be interested in the following link
    http://help.adobe.com/en_US/premiereelements/using/WS9B8F8208-EAE8-4b49-A79B-9479B46A8981. html
    Please update us on your progress when you get a chance.
    Thank you.
    ATR

  • How can you add a 2nd i Tunes account on the same computer?

    How can you add a 2nd i Tunes account to the same computer?

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How can I get a list of active savepoints for the current session?

    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"
    So how can I get a list of active savepoints for the current session?
    Could you please also let me know if there is any better way to debug this issue.
    Appreciate any quick response as the issue is very critical.
    Thanks,
    Soma

    user776523 wrote:
    Hi,
    In Oracle Applications, we are getting the following error while performing ROLLBACK to a Savepoint.
    "Unexpected Error: ORA-01086: savepoint 'PTNR_BULK_CALC_TAX_PVT' never establishe d ORA-06510: PL/SQL: unhandled user-defined exception"It sounds like there's an execution path in the code where the SAVEPOINT is never issued.
    There is no way to get a list of active savepoints. Is this your code or a "canned" procedure? If it is your code you can go through the code looking for answers, possibly tracing execution using DBMS_OUTPUT.PUT_LINE or writing messages to a log table. If its a "canned" procedure you may need to open an SR with Oracle

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

  • How can I take a Snapshot via JavaScript?

    I need to set up a button that takes a Snapshot.
    Right now I have a button that arranges the view and then displays instructions for opening the Snapshot tool and single clicking the page.
    However, if the user changes the view before taking the picture, key information is lost.
    What JavaScript code would produce the same result as opening the 'Take a Snapshot' tool and single clicking the page?
    That would be the ideal solution, but if there is another way, I'm open to suggestions.

    Each form has a large amount of logic determining what options are available depending on what size, control, attachments, ect that have been selected further up the form.
    The option categories and number of option categories are all different for different product groups. Different settings need to be specified by the customer if they have selected particular combinations of options. It would be hugly complicated to combine them all together. And it wouldn't be pretty or easy to navigate through hundreds of settings to see what applies to your product...
    Maybe one day, when I have mastered creating PDFs. But even so, the file size would be larger and I would expect it to be slower + more random crashing. Trouble shooting or making any fundamental changes would be difficult.

  • How can I add a user Role member that is from a different domain

    We are currently building out SCOM 2012 R2 to provide monitoring as a service to some of our customers.  As of now we have the RMS on our own department's domain (Domain A) which we have full control of and we have a gateway server that is on the company
    wide domain (Domain B) so that we can monitor other departments devices as the leverage this system.
    Monitoring is working just fine on both domains and we are just working on fine tuning SCOM so that we can roll it out as a service we offer to our customers.  One of the next steps we are working on before rolling it out is giving specific users access
    to view only their own devices, dashboards, and groups.  So I created a Read-Only profile and went to add a user to test it out, but that user is on Domain B and SCOM is unable to resolve this account.  I'm seeing Event ID 26319 with Error Code 1332.
    How can I get SCOM to discover devices on a different domain so that I can give them different permissions for accessing the Operations Console and/or Web Console?  Is this possible?
    Here is the Error I'm seeing.
    Log Name:      Operations Manager
    Source:        OpsMgr SDK Service
    Date:          2/4/2015 1:11:59 PM
    Event ID:      26319
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      xxxxx.xxxx.xxxxxxxx.xxx
    Description:
    An exception was thrown while processing UpsertUserRolesV2 for session ID uuid:f3b4015e-9583-4237-b7a6-406826434553;id=40.
     Exception message: The creator of this fault did not specify a Reason.
     Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException:
    Unable to resolve the user [email protected] associated with the user role. Error code 1332. Check your active directory configuration.).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="OpsMgr SDK Service" />
        <EventID Qualifiers="49152">26319</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-04T21:11:59.000000000Z" />
        <EventRecordID>172748</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>xxxxx.xxxx.xxxxxxxx.xxx</Computer>
        <Security />
      </System>
      <EventData>
        <Data>UpsertUserRolesV2</Data>
        <Data>uuid:f3b4015e-9583-4237-b7a6-406826434553;id=40</Data>
        <Data>The creator of this fault did not specify a Reason.</Data>
        <Data>System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.EnterpriseManagement.Common.UserRoleUserUnresolvedException:
    Unable to resolve the user [email protected]  associated with the user role. Error code 1332. Check your active directory configuration.).</Data>
      </EventData>
    </Event>
    Thanks for any help I can get in resolving this issue.
    Jake

    The SCOM Management Server is in Domain A.  I've tried it already and it has failed.  
    So just to clarify the method I used was to go to Administration>Security>User Roles.  Then New User Role>Read-Only Operator.  In the Create User Role Wizard I then gave the User Role a name, Clicked "Add" under User Role Members.
     Then the Select Users or Groups window pops up and I changed the Locations from Domain A to Domain B and searched for the user, which it's able to find, then clicked "OK" to add it to the User Role members which it does just fine.  On
    the next page which is Group Scope I checked the one group I want this account to have access to and then click next.  This brings me to Dashboards and Views where I click the radio button for "Only the dashboards and views selected in each tab are
    approved" and chose the folder of dashboards I want this account to access and then click next.  This brings me to the Summary and I click "Create".  At this point it thinks for a moment then closes out the wizard but the new Read-Only
    Operator does not appear.  I then look in Event Viewer and see the Event I pasted above.
    Am I doing something wrong here?  Any guidance on how to get around this issue would be much appreciated.
    Thanks,
    Jake

  • How can i add a dynamic header value in to the pdf

    I am using a AssemblerService (Invoke DDX) to modify a Pdf file. How can i enter a dynamic value into the header using ddx ?
    DDX used
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
        <PDF result="Out1">       
            <PDF source="Doc2">
                <Header>
                    <Right>
                        <StyledText>
                            <p>"here i need to add a dynamic data from the process"</p>
                        </StyledText>
                    </Right>
                </Header>
            </PDF>
        </PDF>
    </DDX>
    Thank You.

    Insertion Point is a placeholder Object which is used to dynamically replace while assembling. Search through the assmber guide to get any hints.
    Nith

  • How can I add more options of alternate languages to the "Spec Name" translations?

    The options should appear on a GSM specification when I click on the little globe besides Spec Name, ShortName, Description, and other fields. But I cannot find where to configure that list of languages so that I can add the ones I need for proactive translations.

    You can definitely add more languages.   
    1. Check out the configuration guide: Multi-Language Support for Proactive Translations section.   It will tell you how to activate them in the database. 
    2. Once activated, you will need to assign them to the users that can add translations.  You do this in UGM on the user profile.
    3.  Once languages have been added to the user, the user will see the language options in the proactive language popup.   
    Hope this helps.  Let me know if you have any further questions.
    Kelly
    Just as a reference, in addition to our National Language Support packs we support the following languages for proactive translations:
    Spanish
    Portuguese
    Italian
    German
    Dutch
    Polish
    SpanishMexico
    SpanishCostaRica
    SpanishVenezuela
    Japanese
    Indonesian
    Thai
    Russian
    Finish
    FrenchBelgium
    DutchBelgium
    Danish
    Swedish
    Norwegian
    Czech
    Slovak
    GermanGermany
    GermanSwitzerland
    GermanAustria
    Catalan

Maybe you are looking for

  • IMessage's not sending - no 'delivered' or 'error' notifications

    I have iMessage configured to work with my Apple ID and phone number. I can receive iMessages, but when I try to send a message in return it just sits there all day, without the 'delivered' notification underneath the message, or the red exclamation

  • Pricing details of sales order

    Hi SAP GURUs, I want to make report of pricing details of sales orders. From which table i should get the pricing details. I know tables KONH and KONP...but i dont know how to get details in these tables for perticuler sales order. Please help me out

  • KeepAlive in infrastructure tier vs midtier

    Hello, Does anyone have examples of the httpd.conf setttings for both the midtier and infrastructure tier for an environment expecting maybe 1000 connections? Specifically looking for things associated with KeepAlive ... when the database is on a sep

  • "play sound.vi" delay on first use

    Could someone try the following On my laptop there is a 3s delay when this is first run. If the vi is re-run the sound plays back instantly. Close the vi and open it again and the 3s delay is back the first time it is run.  (The timeout connection de

  • Middleware setting for sales order documents replication crm to ECC

    Hi, Please help me on the following query: what kind of middleware settings should done to get transaction documents(sales order(TA) and contracts) tranferred from SAP CRM to SAP ECC. Please provide tcode and navigate for settings. Thansk and Regards