Jump to content

Insert current date into dialog box


Recommended Posts

:) I'm sure this has been covered but a search doesn't turn up anything. How do you insert the current date into a save file field?

FileSaveDialog("Select File:","C:\","Text Files (*.txt)",18,@MDAY & "-" & @MON & "-" & @YEAR)
"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110
Link to comment
Share on other sites

  • 2 weeks later...

another alternative

#include <file.au3>
;
_FileWriteLog(@ScriptDir & "\my.log","Text 1")

8)

Thanks for the help guys. But neither example is precisely what I'm looking for.

The application opens it's own "save as" dialog; not a standard Windows "save as" window.

I think I need to issue a command that creates the current date copies it to the clipboard and then pastes it into the application with the correct file extention attached.

Maybe the functions "clipget" and "clipput" will work but I don't know how to automatically send the current date to the clipboard nor add the extention when I paste the date.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...