copyleft Posted May 25, 2006 Share Posted May 25, 2006 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? Link to comment Share on other sites More sharing options...
james3mg Posted May 25, 2006 Share Posted May 25, 2006 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 More sharing options...
Valuater Posted May 25, 2006 Share Posted May 25, 2006 another alternative #include <file.au3> ; _FileWriteLog(@ScriptDir & "\my.log","Text 1") 8) Link to comment Share on other sites More sharing options...
copyleft Posted June 5, 2006 Author Share Posted June 5, 2006 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 More sharing options...
pecloe Posted June 5, 2006 Share Posted June 5, 2006 clipput(@MDAY & "-" & @MON & "-" & @YEAR) Link to comment Share on other sites More sharing options...
copyleft Posted June 8, 2006 Author Share Posted June 8, 2006 One last try... In the graphic where it says type current date here.mdb, I need to automatically add the current date with an mdb extention. Anyway to do that? Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted June 8, 2006 Share Posted June 8, 2006 try getting the control ID and do a controlsend, to get the control ID use autoits window info Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now