How to incorporate File name and timestamp automatically into select and save file dialog box?

Hello,
i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
Thanks
Solved!
Go to Solution.

You can pass a default file name to the 'File Dialog' Express VI.
Use the 'selected path' output to open the file.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness
Attachments:
FileDialog.vi ‏21 KB

Similar Messages

  • How can I use field value as a pdf filename in save as dialog box

    Hello,
    I want to use a submit/save button and once you press that the document is automatically named like a field in that document,
    e.g. their is a date field in PDF, When I click Save button in PDF  Then the file name in Save As window is automically entered. Like "09/08/2012.pdf"
    I'm using Adobe Acrobat X Pro.
    Thanks a lot for all your help,
    I really appreciate it.

    Hello Ebnul.nao
    I am having this same problemwith trying to work this out.
    Did you succeed in the end?
    I will really appreciate your help if you did
    Kind regards

  • Folder level script? How can I use field value as a pdf filename in save as dialog box

    I read somewhere that if you use a folder level script, you can do things like save a pdf with a specific filename - possibly based on a field name.
    How would one set up a folder level script?
    How do you execute a script from the PDF?
    What code would you use to change the PDF name to the contents of the fFieldName text field?
    Or, is this really just impossible to do?

    The article is interesting.  It suggests you place code like this:
    // Page Replacement Function
    var ReplaceLastPage = app.trustedFunction( function(cPath) {
    app.beginPriv();
    this.replacePages(this.numPages-1, cPath); app.endPriv();
    In the trusted folder.  What is the path of the trusted function(s) that get automatically loaded into Acrobat?
    I assume in the example above, function(cPath) is a function inside of the PDF...

  • Move, delete, or rename files in Open or Save As Dialog box

    I want to be able to rename, delete or move a file when I am in an Open or Save As dialog box. Sometimes when I am opening a file or saving a new file I spot an existing file that needs to be renamed, moved to a folder or even deleted. In Windows I would just take care of that file and then keep going with what I was doing in the first place. This doesn't seem to work in Mac OSX. I have to stop, go to a Finder window, go to the location, do what I want to do to the file and then go back to the Open or Save As dialog box. There's go to be a better way in the "world's most advanced operating system." Ideas?

    SDA_MAC wrote:
    There's go to be a better way in the "world's most advanced operating system."
    no, there isn't.
    Ideas?
    you can ask apple to implement this feature
    http://www.apple.com/feedback/macosx.html

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Comparing incoming file name having timestamp with system time.

    Hi,
    The scenario is File to FIle.
    i have to read the incoming file name which will be having time stamp.
    compare the time stamp with the system time .
    if the difference in time is within specified time then send the file to target location,else send a mail that file is not placed in target location.
    please enlight me on how this scenario can be done.
    Thanks,
    Akkasali.

    if you mean the actual time stamp on the file and not the file name then ref: http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID2044216150DB12410233167314983393End?blog=/pub/wlg/15154
    else if you mean the time stamp on the file name itself then use dynamic configuration and then read the file name and do the further processing - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

  • I just installed an update on my iPhone and since then the choice to repeat music, or not, has disappeared and it automatically plays songs and albums on a loop. Anyone know how to make it play an album or song just once?

    I just installed an update on my iPhone and since then the choice to repeat music, or not, has disappeared and it automatically plays songs and albums on a loop. Anyone know how to make it play an album or song just once?

    Basics from the manual are restrt, reset, restore.
    Have you tried each of these?

  • Infopath submit - how to hide - Save as dialog box - You can only save this file to the current site

    HI,
    I have a infopath form. In the submit options, i have used the below:
    submit options -
    sharepoint document library
    Data connection - Sharepoint Library Submit
    Doc library - lib location
    File name: concat("User Info - ", ResourceName, "-", PersonalID)
    Allow overwrite if file exists is checked.
    When I try to save a record, I am getting a popup:
    Save As:
    You can only save this file to the current site
    File Name: textbox
    save location: doc lib.
    save, cancel buttons.
    How to override this save as option(save as option should not be shown to user), and save the file using the file name mentioned?
    Thanks

    Are you clicking "Save" when you're using the form or "Submit"??
    You should be using "Submit" and it will ... submit your form to the document library with the file name you specified.
    To disable the "Save" button, click on "File" then "Form Options". Under the "Filler Features" area you can uncheck the box beside "Save and Save As". Click OK then re-publish your form.

  • In javascript how to invoke save as dialog box ,which saves .pdf files only

    Through javascript i generated a save as dialog box. the main problem is , it is only saving .html and .doc files by default. how to restrict it to save only .pdf files.
    the code i used is
    function SaveFile(fname)
    document.execCommand('SaveAs', null, fname)
    <input type="button" value ="save" onclick="SaveFile('');">
    /**********************************************************************/

    this is actually a Java forum its slightly different from javascript
    but try this not sure if it helps
    <input type="button" value ="save" onclick="SaveFile('.pdf');">

  • How can you take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in.

    As the title says I need help on how to take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in. Right now when I want to move a picture from one event to another I drag it to my desktop then delete it from iPhoto then I drag it back into iPhoto and put where I want it.An example would be taking a photo from the Christmas event and add it to a specific person event.  Can I do that within the events section without all the dragging. Also is there anyway I can remove duplicates from iPhoto without going through each and every file. Any help would be greatly appreciated.

    Apple doesn't make it easy to do what you want.  However, here's how I do it. 
    Select the photo you want to move and create a new Event for it via the Event ➙ Create Event menu option.
    In the Event mode select the new Event with the one picture and drag it onto the Event you want to move the photo to.

  • How do I force Firefox (6v02) to stop showing thumbnails of existing file(s) in the save-as dialog box?

    I save files associated with similar objects using similar names (just a different extension, or numeric sequence). The save-as dialog box shows a list of existing files. When I choose one, with the intention of changing the file extension or the numeric sequence (e.g., choose 'file001.jpg' in order to rename the new file to be saved 'file002.mpg') the thumbnail associated with the one I select is shown on the right. I neither want nor need this time-consuming & memory-consuming process to take place. I would like to be able to disable this feature in order to allow me to do what I want directly and faster (P3/866MHz/512MB).

    Perhaps, but the problem is I don't really know what to look for. I've tried doing a keyword search of the AIprefs file to find where ICC profiles and compression could be located but I couldn't find anything. Does anyone know what they are called and what I should modify?

  • How do I call browser Save As dialog box before downloading pdf files?

    How do I call browser Save As dialog box before downloading pdf files?
    Here's my favorite scenario:
    1. User clicks button
    2. Save As dialog displays
    3. User chooses location
    4. A set of PDF files download to that location OR a single zip file downloads
    Background:
    I want to ensure the user sees that files are being downloaded. I'm delivering content to users who may not be Web savvy.
    Concern:
    1. User has no clue how to find downloaded files or that files have even downloaded.
    2. I'd like to deliver the set as zip files. Not sure if self-opening zip files still exist.
    FYI:
    I'm using jQuery UI buttons. Not sure if that factors into response.

    Just for clarity, I'm not forcing a download. The user will click a button.
    Click a button or click a link, either way you're technically executing a script to force a download.
    I'm assuming that's the php file resident on the server.
    Yes but that's only part of it.  Once the contact form executes, another script is called up which opens the browser's download dialogue.
    Is there a php script for simply calling the Open/Save dialog box?
    Yes. 
    <?php
    /* This short script forces a file download.
       For simplicity, it's intended to be used for a single file.
       You can use multiple copies of this file (with unique names)
       with different variable values to use it with multiple files.
       Use of this script has a side-effect of hiding the location of the
       file on your server.
    // full server path to file to be downloaded (including filename)
    $Path2File = "path/to-file-on-server.zip";
    // the filename
    $theFileName = "name-of-file.zip";
    //the work gets done here
    header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header ("Content-Type: application/octet-stream");
    header ("Content-Length: " . filesize($Path2File));
    header ("Content-Disposition: attachment; filename=$theFileName");
    readfile($Path2File);
    ?>
    Name this file zip2download.php.
    Add a link to your HTML page:
    <a href="zip2download.php">Download Zip</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • On a MBP with Mavericks how do I get the Save As dialog box to open at the same size and place at which it was last closed and used to happen before Mavericks?

    Before I upgraded my MBP to Mavericks, the Save As dialog box would reopen at the same size and position as it was when last closed.  Now with Mavericks it always opens in the same position at a very small size.  Is there a way to make it reopen at the last place and size at which it was closed?

    I have resolved the issues presented without having to find and uninstall the Macromedia Flash Player 8.0 in order to get "Adobe Flash Player 10" playback of .swf files on my computer. When I begin this task, I expected to download an "Adobe Flash Player 10" as a player program download instead of the Internet Explorer and Firefox plugin that it appears to be.
    This is what I did and what I believe I have:
    1. I setup Internet Explorer 6 as my default browser and then used the following site to download Adobe Flash Player 10
    http://www.adobe.com/products/flashplayer/
    2. As I had done before (and also suggested in another thread here), I went to Tools/Manage Add Ons and found Shockwave Flash Object, highlighted it, and clicked on Update Active X. Next, what I did not do before, I restarted the computer immediately after that.
    3. Next, I set Mozilla Firefox as my default browser and then used the above site to download Adobe Flash Player 10 again.
    4. With Firefox, the critical step included Firefox Tools/Options/Content with File Types (Configure how Firefox handles certain types of files) and the Manage Tab there. SWF Shockware Flash Object/Change Action/and dotting "use this plugin" - Shockwave Flash, followed by a computer restart got the job done.
    Now, if I want playback of a .swf file, I can
    a. Open With Internet Explorer (assumed with the Adobe Flash 10 "plugin")
    b. Open With Mozilla Firefox (assumed with the Adobe Flash 10 "plugin")
    c. Open With Macromedia Flash Player 8.0
    I am satisfied with those results for my use. Any additional comments on the player vs plugin aspect of the matter would be interesting and helpful.
    ATR

  • How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive.

    How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive without clicking on save option everytime when saving an image. I'm using firefox ver 35.0.1 for windows 7.

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

Maybe you are looking for

  • How to make a servlet as a router between two applications ?

    Hi everybody, I have two identical applications running under ORACLE AS. when one of the application went down , I want from a servlet or anything to map all requests to bakcup application. is their any ideas you can share with me ???

  • Is it possible to "embed" YouTube and other web videos in emai?

    Many videos on the web have "embed" capability. Can these be embedded in an email? I found a passing reference in Mail help about "HTML," but that's Greek to me, and I found nothing about embedding in emails. (I know we can attach movie files that ca

  • How do i take apart an old Studio Display?

    So, my girlfriend and I saw this article where someone has taken apart an old Apple Studio Display and turned it into a groovy little cat bed: http://www.bitrebels.com/geek/the-mac-apple-studio-display-cat-bed-mod/ The problem though is that I can't

  • This forum and firewall.

    Why do i have to turn off my firewall and advanced settings to use this forum??? If they are on i cannot post replys or start a thread. Thank you

  • Insert ,Delete & Add a row in ALV

    HI, I have a ztable and i have used REUSE_ALV_GRID_DISPLAY to display all the data. But the problem is i have want to give the user an option to Delete , Insert & Modify the data. Can any please give me some i/p's thanks Ranjit