Automatic Time/date of a pdf file?

How can I add an auto timestamp to the pdf file name?

You need a folder level script to change the file name automatically.
You then can call the save function from a button in your form.
Script for Click:Event of a Save Button
event.target.mySaveDoc(event.target);
Folder level script
//Date function
function myDateString()
     return util.printd("dd.mm.yyyy"+" - "+"HH.MM.ss", new Date());
//Save function
var mySaveDoc = app.trustedFunction(function(doc)
     var aDocumentFileName = this.documentFileName;
     if (aDocumentFileName == "MyForm.pdf")
          app.beginPriv();
          var myPath = app.getPath("user", "documents") + "/" + "MyForm" + " - " + myDateString() + ".pdf";
          doc.saveAs(myPath);
          app.endPriv();

Similar Messages

  • Need guidance entering my own data in a PDF file

    Please refer to this example:
    http://www.gnupdf.org/Introduction_to_PDF
    I am trying to teach myself PDF internals. My immediate objective is to save some private data in my PDF files. My data is structured as "variable/value" pairs but I chose not to save it as custom properties because of its bulk and the possibility of confusion and undesired manipulation by the end user.
    The above example immediately suggests that I should use an object of "dictionary" type. Let's try to assemble the file manually:
    44 0 obj
    <<
      (Favorite Baseball Team) (Boston Red Sox)
      (Age) (35)
      (Planet of Birth) (Klingon)
    >>
    endobj
    Is the above initial attempt correct? I will of course use the corresponding API to create the dictionary, but I am concerned about breaking things. Won't Acrobat get confused when it finds this foreign stuff?
    TIA,
    -Ramon

    Hi Leonard,
    Thanks for your always valuable help. FYI, my data is of a global nature. I suppose I should come up with some unique name ("MyPrivateData" or something) and place such entry in the Catalog?
    This thread brings up a related topic. It is about the uniqueness of the JavaScript namespace. My PDF files are generated automatically and JavaScript code is added to them. I haven't done any tests yet, but I foresee the following problem: those generated PDF files may end up being merged with each other which brings the potential of namespace conflicts.
    Let's say that the first JS-laden document has 3 pages and another one has 2 pages. I suppose there is no way to restrict it like: "this JS code applies to the first 3 pages only". As soon as the 2 documents are merged all the JS code (and worst of all: the variable and function names) applies to the 5 combined pages, correct?
    There are 2 possible solutions:
    - Perhaps there is a way to declare some JS code as belonging to one page only?
    - Use collections. This brings a whole new layer of complexity and expense.
    Thanks again,
    -Ramon

  • Is there a way to have the thumbnail pane automatically open when opening a pdf file?

    I'm using Adobe Reader X and I would like to have the thumbnail preview automatically open when opning a pdf file. I know there is a setting to remember view layouts but this is set for the currently open document and not in general. Thanks in advance,
    Regards
    Robert

    A particular file can have this setting, so each time you open it you see the thumbnails. The bad news is:
    - this would have to be changed per file
    - this requires the Acrobat product, not just the free Reader.

  • Can I use Visual Basic to covert form user data from multiple .pdf files to a single .csv file?

    Can I use Visual Basic to covert form user data from multiple .pdf files to a single .csv file?  If so, how?

    You can automate Acrobat using IAC (InterApplication Communications), as documented in the Acrobat SDK. Your program could loop through a collection of PDFs, load them in Acrobat, extract the form data from each, and generate a CSV file that contains the data.
    Acrobat can also do this with its "Merge Data Files into Spreadsheet" function, but this is a manual process.

  • Merge data and a PDF file?

    Hi,
    I´m trying to render/merge data into a PDF file using FormServer (7.0) and .NET. I notice that if I use the xdp version of the pdf, FormServer will return a pdf with the merged data. However, I cannot acomplish this if instead of a xdp file document I use a pdf file (dynamic 7.0 created with livecycle designer 8).
    This works:
    String sFormPreference = "PDFForm";
    String sFormQuery = "ExpenseClaim.xdp";
    This doesn´t woks:
    String sFormPreference = "PDFForm";
    String sFormQuery = "ExpenseClaim.pdf";
    Isn´t it possible to merge data directly into a PDF using FormServer. I rather use a pdf file instead of a xdp file, because, a xdp file will need to be converted to a PDF file. Thus it will spent more time accomplishing the merge.
    Thank you

    Try using PDFMerge as the transformation.
    Chris
    Adobe Enterprise Developer Support

  • How to Extract Data from the PDF file to an internal table.

    HI friends,
    How can i Extract data from a PDF file to an internal table....
    Thanks in Advance
    Shankar

    Shankar,
    Have a look at these threads:-
    extracting the data from pdf  file to internal table in abap
    Adobe Form (data extraction error)
    Chintan

  • How to upload data in the pdf file to the R/3 with fileupload element ?....

    Hi Experts,
    I need to upload the data in the pdf file to the R/3 with fileupload element.
    But I am not able to get the correct data(it is confusion code) in the pdf file when I debug the programe. However, I am able to get the data if the data is in the txt or excel file.
    Do you give some hint for this problem ?
    Thanks & Regards,
    Tao

    Hi, experts,
    The version of R/3 : ABAP: 10, BASIS:11.
    Best regards,
    tao

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • How do I keep my macbook pro from automatically rearranging my folders and PDF files on my desktop

    How do I keep my macbook pro from automatically rearranging my folders and PDF files on my desktop?  It seems to happen a lot after I've hooked my laptop to my Thunderbolt in my office and then I unhook my laptop to go present at a clients of taking my laptop home to work.  Every once in a while if even places all of my folders and PDF files in the far upper left corner of my screen.  Needless to say, having to constanly rearrange my desktop is extremly annoying and would love to know what the fix is for this problem.  Thank you in advance for any help offered!

    Thanks for the tip "baltwo", unfortunately my desktop settings were already set to NONE.  I've had one of my IT guys here this moring helping me look through all of this and we're at a wall trying to figure out why it's doing this.  This morning when I docked to the Thunderbolt all my folders and PDF files are in the upper lefthand corner stacked on top of each other almost out of view.  If I go to settings, displays, and swith to mirroring, all the folders and files go right back to where they're set up on my MacBook desktop, but I lose the ability to utilize the entire screen of the Thunderbolt.  Very frustrating to say the least and after searching through and reviewing several forums, Apple is very much aware of this issue and seems to be keeping silent on the issue.  Hoepfully they'll launch a fix soon!
    THANKS again for the tip, it's much appreciated!

  • Eror in automatic time & date setting

    Suddenly the automatic time & date function in System Preferences is returning an incorrect time. I am shown in the correct time zone (EDT), but using the automatic setting puts the time ahead by 4 hours. I believe that would be GMT. Cannot figure out why it would do this. I am using an early-2008 MacBook Pro running Mac OS 10.8.2.
    Intrerestingly, my iPhone 4S running iOS 6 is showing the correct time.
    Anyone else experiencing this, or have any ideas how do return to the correct time?

    see if this link helps  http://www.apple.com/support/ical/

  • Why does Adobe XI Pro keep appearing on screen each time I open a pdf file?

    Why does Adobe XI Pro keep appearing on screen each time I open a pdf file?

    Is this whatyou need?
    If  you uncheck this Acrobat Opens but the PDF will open without showing startup screen.

  • Every time I open a PDF file... I need to register

    Every time I open a PDF file, I am asked to log in with my adobe ID and register the product.  I have.  I do.  I have a monthly subscription to the cloud (plus had purchased acrobat something or other at one point).
    How can I keep this small but annoying thing from happening?
    Thanks for any help !
    Voy

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • Open PDF in Preview - automatically in front of other PDF files?

    I'm really fond of the 'open PDF in Preview' option in Safari. However, I have noticed that when a pdf file is already open in Preview before downloading a new one, the new one does not automatically come in front of the one that was already open; instead, I usually have to alt-tab to get the file I've just downloaded in front. Is there any way to remedy this?

    Pahu, thank you. After reading your reply, I found a discussion thread called "preview opens fileopen dialog each time it starts", and the complete answer was there. Basically, just open System Preferences – iCloud, and uncheck "Documents & Data". I did get a message that all corresponding data on my Mac would be erased but the data would remain in iCloud for use on iPhones, etc. Since I don't keep any "documents & data" on iCloud (I only keep contacts, calendar, notes, etc. -- those are separate from documents & data), I accepted this. My problem was immediately fixed.
    Thanks so much.

  • Need Help on Recovering Saved Data in a PDF File

    Hi,
    It took me several days to fill up an important immigration document in pdf format. During the time, I was able to save it and open it again with the data in the form fields.
    The motherboard of the laptop was fried the other day. All the files on the harddrive are safe. I got a usb hd enclore and copy the files off the harddrive.
    However, when I open the pdf file, the data fields are now all empty. What to do to recover the saved data fields? Is that possible?
    Thank you very much!

    Hi~
    Don't be worry, I think to use some tools to recover your  pdf file will be help.
    I used a tool last month, and it recovered the pages as well as images in one pdf file of mine.
    Follow this steps, it is very easy to repair: http://www.datanumen.com/apdfr/recovery.htm
    You can  have a try, good luck!
    Julie

  • How to extract data from offline PDF files as batch processing

    Hello.
    I want to use Adobe Interactive forms as batch processing.
    For instances,
    1. Users download offline PDF files.
    2. Users inputs data on their local PCs.
    3. Users upload these PDF files in one folder.
    4. Program can read data form PDF files on that folder. and put data to ERP at night.
    I' d like to know how to implement a program with Java or ABAP.
    Regards.
    Koji.

    Hi,
    It's possible to do it but first be sure that the SAP system can read the directory while your program is executed in background .
    Then you have to read the content of the directory and process each file you found.
    Look at this standard ABAP object cl_gui_frontend_services , you will find method for browsing a directory and retrieve list of file .
    Afterwards you have to process each file , for this have a look at this wiki code sample i wrote for processing inbound mail with adobe interactive form, it should help you [Sample Code for processing Inbound Mail with Adobe Interactive Forms|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCodeforprocessingInboundMailwithAdobeInteractive+Forms]
    Hope this help you .
    Best regards.

Maybe you are looking for

  • VLD-6328 error : Use a flat file as Source in a mapping in OWB 10.2

    Dear all, I have created a simple mapping using a flat file in a remote server as a source and a simple table as a target. When I try to validate the mapping I get the following warning: "VLD-2398: No data file specified. Generated code will use the

  • Batch  Determination With out characteristics ..?

    Dear Experts I have finished the batch determination for the SLED but i had to create characteristics for it refrence to VFDAT field in MCHA table but I need to knowhow to refer direct to the field with out refering to the characteristics for example

  • Iframe shows only code - Help, please!

    I'm on OS X 10.4.5 and have designed a website that uses iframes (this is a must as there is a lot of content and I do not want the page bigger than the set size, so I need a way to scroll the content within the page size (955x600). I use Firefox for

  • Ignore DTD declaration in incoming XML message

    Hi, I have an issue where I am receiving an incoming XML message which starts with a DTD declaration. This causes an issue with the XML parser step in the mapping because the parser attempts to resolve the DTD location. However this location is exter

  • Motion Non-Functional After Install?

    I bought and installed Motion a couple of weeks ago, and have thus far been unable to get it to work. It's slow to load, which may be due to the fact that my machine is on the lower end of the acceptable specifications, but when the program opens, th