Can I populate a text field in one PDF with the modification date of a different file ?

Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
The complete library contains over 7,000 files and additions are added and documents changed almost daily.
We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
Any assistance would be greatly appreciated.
Regards,
Nifty Styles
(Norfolk, England)
P.S.  I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).

Thank you for all your help above.
Just to confirm your advice, am I right with the following conclusions? :
1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
Further to that can you just advise on the syntax for accessing the modification date of the other document.
Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
var LastSync = "C:\sync\bin\lastsync.pdf";
var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
this.getField("LastSyncDate").value = strMsg;
If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
I much appreciate your time to help me ... I'm almost there.
Kind Regards,
Nifty

Similar Messages

  • How to populate a filter field in one page with the value from other page

    Take the classic report with form application.
    on page 1 (report) I have a filter (dbname) for the records that will appear in the report. Say that, I enter "ap02" in the filter and all records where dbname starts with "ap02" will display. It works ok.
    Then I click on "create" button and page 2 appears. I enter all fields except the dbname. This field is generated, at "pre-insert trigger on the table".
    What I want is when I press the button "create" on page 2 to pass the value of the generated dbname field into the filter in page 1 so when that page refreshes I will have only one record on the report page (1). I understand that the dbname at the page 2 level still empty because it is generated by the trigger. How do I have access to that info to populate the filter.
    Thanks for your assistance

    Joe - Work backwards from the value generated during the execution of the trigger. You have the value there so you could save it into a package variable right then (create a package with a variable and assign the value to the variable). Then create a process on the page (after the DML process) to assign the value of your package variable to a page item. Then in the branch back to page 1, pass the item. (Or without messing with the branch, the process could simply assign the package variable directly the the page 1 item -- :P1_ITEM := my_package.my_var; ).
    An alternative would be to use the "returning into" feature of DML to capture the PK of the created record into an item. Then the next page process could use the PK to fetch the new row and get the dbname value for passing to page 1.
    Another option would be to update session state directly in the trigger.
    Scott

  • How do you create aligned interactive text boxs in a PDF with the same width and height?

    how do you create aligned interactive text boxs in a PDF with the same width and height?
    Without free hand creating the sizing?

    Assuming by "interactive text boxes" you mean form fields; in Acrobat, make a form field, then copy it and paste. (GIve the pasted copy a different name so they don't genetate the same field feedback.) Now you have two fields of the exact same size. Shift-click or marquee-drag to select both, then right-click and choose a command from the Align, Distribute or Center menu.

  • Is there a fax cover template?  If not, how can I have 2 text fields on one line?

    Is there a fax cover template?  If not, how do you add two text fields on one line?    

    No fax cover template. This forum posts explains how to put multiple fields on one line:
    http://forums.adobe.com/message/5032849

  • Why can't I set up more than one ipod with the same e-mail account?

    Why can't I setup more than one ipod with the same e-mail account?

    Not really sure what you are doing that this doesn't work...I have an iPhone, iPad and iPod all using the same email account without any conflicts.  Can you explain a littl about what you are trying to do that isn't being allowed?

  • How can i get a copy of my ipone messages with the number, date and time stamp?

    How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp?  Needed for court purposes.

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    You should probably consult your attorney to see if either of these will be acceptable.

  • Can you use a text field for email sender with E-mail button

    basically i would like to use input information from the user when someone sends an email instead of the default which is to look for a third party e-mail program like outlook. I want to bypass that and possibly use a text field that has the user input their email. some people don't use outlook so it would be nice to bypass that somehow. Is there a way to send email without the whole outlook thing, like not needing a "sender" and instead require them to input email address. I just want to receive the pdf. I am using LIVECYCLE by the way.

    You must enable POP forwarding for the account preferences via webmail access for the account.
    http://mail.google.com/support/bin/answer.py?answer=13273
    http://www.macosxhints.com/article.php?story=20041110192454841
    The instructions for enabling POP forwarding and creating the account as a POP account with an email client such as the Mail.app are available at Gmail's website.

  • Consolidation multiple STO PO to Create one Delivery with the same date

    Hi:
    Want to create one delivery notes from mutiple STO PO using VL10B.
    with the same delivery date.
    How to do it

    Basically the criteria to combine more than one STO into one single delivery
    is STO delivery date and receiving plant. If they are the same then one delivery
    is created and different delivery items are summed.
    Good reference available in SAP notes:
       386340 - Grouping purchase orders into one delivery using Vl10*
    There is more information in another existent thread:
      Combine STO into same DN

  • Filling a text field in Safari and saving the page as 'save as'

    My telephone system creates a call log and I like to automate downloading it weekly.
    In order to get in it needs to enter a password (there is also a user name field but that is left blank by me).
    Once in is should safe a ‘Save as” copy to my desktop.
    I have written a script and it does not work (probably because I am not good at scripting.
    Can anyone help?
    This script gets me as far as the dialog box that asks for Password to open.
    tell application "Safari"
    activate
    tell (make new document) to set URL to "http://192.168.1.90"
    Thanks

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • Javascript to fill text field from other PDF form

    I am trying to figure out if it is possible to add javascript to a text field that when initiated pulls text from another field in a closed pdf in the same directory.
    For example I have a NAME field in the pdf form I am working in....
    When I initiate the script the NAME field is filled in with the same data from another PDF that is closed.

    I have looked up the 'disclosed' property and it looks like that is what I want to do..
    I have "this.disclosed = true" in a PDF with the name field. On the other PDF that I want the information replicated I am going to add a javascript to an action somewhere on the document, my problem is which script do I use to get this data from the other pdf?  Is the pdf that is now accessible via javascript (disclosed) a data object?

  • Yoga 13 MSIE10 can't type into text fields

    New machine Feb 2013 used exclusively in laptop mode. Has been great overall but right out of the box I could not type text into any form fields using Internet Explorer 10. What an intro to Windows 8! Discovered I can type text in notepad, then copy and paste it into fields but cannot enter it directly. This was happening with the factory installed software so if it's a third party app conflict it's one that's original equipment. Thankfully Chrome works fine, but sometimes I need to use MSIE and am quickly reminded why I can't.
    Google and Lenovo forums are mum on this subject. Some suggestions pointed to SFC /scannow, which came up with a litany of things it couldn't fix. Enhanced protected mode in MSIE also did not help. Didn't appear possible to reinstall MSIE (where's the DOJ when you need them?) What's next?  Thank you all for your assistance.

    hi dserdu,
    Welcome to the Forums.
    Are you having this issue on the desktop version of I.E. or the Metro version?
      - if the issue only happens on the metro IE, try to open the Desktop I.E. > press ALT+T > choose Internet options. On the Internet Options, go to the Programs Tab, set I.E. to Always and check the box "Open Internet Explorer tiles on the desktop"
    - Link to picture
    Alternatively, if the issue is compatibility between the website and the I.E. versions, you can run I.E. 10 in compatibility mode or on a lower version (i.e. I.E. 9, I.E. 8., ...etc.). To do this:
    1. Open the Desktop I.E. and press F12
    2. On the developer tools, choose Browser Mode IE 10 and choose an I.E. version (i.e. IE 9)
     - Link to picture
    3. When dnoe, press F12 again and observe if you can now type into text fields.
    Let me know your findings
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How do you auto-populate a text field based on entries in other text fields?

    I would like to be able to have a text field that populates as "Complete" or "Incomplete" based on whether all the mandatory text fields have been filled out or not.
    For example, if the "First Name," "Last Name," and "City" text fields are not filled out, the "completion status" text field will show "Incomplete" and once they are filled out, the "completion status" text field will turn into "Complete."
    How would I do this using javascript? I've searched the web for a tutorial, but most of the results seem to be dropdown-centric.
    Please point me in the right direction!

    Try the script below. I put this on the calculate event for Field1
    if(FirstName.rawValue == null || LastName.rawValue == null || City.rawValue == null){
    Field1.rawValue = "Incomplete"
    else
    Field1.rawValue = "Complete"

  • Does anyone know how I can create a text field in a pdf document that will multiply a total in another box?

    does anyone know how I can create a text field in a pdf document that will multiply a total in another box? I’m making an interactive pdf for an order form (attached), and I need to find a way for the “total quantity” number to multiply by 9 and total in the “Amount Due” box.

    Hey Gary,
    Have a look at this post: Re: horizontal scrolling similar to excel
    Andy's reply will show you how to make a table scroll horizontally, but it will be tough to accomplish it in some sort of easily replicable way. I am working on a JQuery extension that will help accomplish this, but I have had my time invested in another project at the moment.
    Good Luck,
    Tyson

  • Hello, I can not use my text field in PS cc. I can drag a text box, but when I write something in, I can't see the letters!

    Hello, I can not use my text field in PS cc. I can drag a text box, but when I write something in, I can't see the letters!

    Opacity at 100?
    Does the cursor move as you type?
    Reset the tool by right clicking here to see if that is the remedy.

  • How can I expand text fields in my PDF file which I built in Forms Central?

    I'm working in Windows 7 and just created my first form in Forms Central. I have many text fields that I intended for the end user to be able to type as much information in them as necessary. I selected the "multiple lines of text" setting for each of these fields. I was told by someone at Adobe a while back when I was trying to decide on learning LiveCycle Designer or using the much more user-friendly Forms Central that the form fields would not automatically expand in the PDF form, but that I would be able to click or drag on the fields manually to expand them so that, ultimately, they could be printed with all the comments, for however many pages it would take. I've exported my Forms Central form to a PDF file. However, when I type multiple lines of text in the form fields I set up to be "unlimited," I cannot get the form fields to expand. What have I done wrong? Help, please!

    We are dealing with a similar situation.  We have downloaded LiveCycle and created the form, but as we knew would happen, the changes that come for the content of the form are causing us to max our trial version, and as soon as the form needs a change outside of the trial time period, we are faced with the next dilemma, as Adobe doesn't offer to purchase a single license at a reasonable rate.  The only reason we wanted LiveCycle was for the dynamic field feature.  I plead with you to consider offering that feature in Forms Central.  The other issue that we are having is that our users sometimes need to paste a table into the expandable text field.  Is that even possible in Live Cycle?  We don't at this point need the web-based functioning that Live Cycle offers. Thank you.

Maybe you are looking for

  • SSAS Cube parameter date format change

    Hi Experts, I am new to SSRS report creation. I have a parameter which is fetching date from cube. The date format from cube is YYYY-MM-DD. I want expression to change the date format to DD/MM/YYYY. I have used this expression - =Format(CDATE(Paramet

  • Headsets do not work on laptop with windows 7 home premium. how do i fix?

    I have a new hp laptop with windows 7 home premium. No headphones work with this set up. can someone help

  • Dell Xps 14 (L401x) speaker malfunctioning

    Hi all I am using my Dell Xps 14 (L401x) since march 2011 but recently my JBL speaker have started to produce crackling and unpleasant output at a slightly high volume (above 40%). Songs and audio with bass have always been a problem at full (100%) a

  • Was it GoLive or Dreamweaver...tool for laying out site that then creates the html files?

    I can't remember if it was Dreamweaver or Golive... I remember a tool that allowed me to layout a web site...graphically....I could create a index.html file...then about.html, contact.html, services.html....link the structure of the files together...

  • TOMCAT server problem at startup

    Hello I use apache-tomcat-4.1.37. When I start tomcat I get an long error-output in catalina.out. Can anybody help me to fix this? Sorry for this long error-posting! Jan 13, 2006 12:18:54 AM org.apache.catalina.core.StandardHostDeployer install INFO: