Search the web
Sign In
New User? Sign Up
AutoHotkey
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Need help on generating filenames based on date/time.   Message List  
Reply | Forward Message #224 of 528 |
Re: Need help on generating filenames based on date/time.

=> Thank you <=

That got me close enough to do a hotkey timestamped archive of a
critical file I work in a lot.

Dave
-- In AutoHotkey@yahoogroups.com, "A N Suresh Kumar"
<arian.suresh@...> wrote:
>
> Dear Dave,
>
> Filename = % A_Now ;assigns the curennt time string to variable
Filename
> Filename = % A_Now ".txt" ; for a filename with .txt extension
> ;To Append some text to the file
> FileAppend,"Some text",%Filename%
> ;to open the above file in a text editor
> Run, %Filename%
>
> save the above as an .ahk file and see the results.
>
> Please visit AutoHotkey's forum for more help
http://www.autohotkey.com/forum/
> Your might find more answers for your query.
>
> Thanking you,
> Regards,
> Goyyah aka Suresh
>
>
> ----- Original Message -----
> From: Dave Przebiegelec
> To: AutoHotkey@yahoogroups.com
> Sent: Monday, March 06, 2006 9:46 PM
> Subject: [AutoHotkey] Need help on generating filenames based on
date/time.
>
>
> Hello. New group member. Glad to find a AutoHotKey group!
>
> I have already RTFM'd.
>
> I need the code to write out a file with the name
> 20060306100624
> CCYYMMDDhhmmss
> I'd prepend some description and append the file extension.
>
> I know it involves something like: FormatTime, TimeVar, yyMMddHHmmss,
> but I am truly lost after that.
>
> Can anyone explain what I need to do, or point out the reference in
> the fine manual?
>
> Thanks!
>
> Dave P
>
>
>
>
>
>
>
------------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
> a.. Visit your group "AutoHotkey" on the web.
>
> b.. To unsubscribe from this group, send an email to:
> AutoHotkey-unsubscribe@yahoogroups.com
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
>
------------------------------------------------------------------------------
>







Tue Mar 7, 2006 3:03 am

an_american_...
Online Now Online Now
Send Email Send Email

Forward
Message #224 of 528 |
Expand Messages Author Sort by Date

Hello. New group member. Glad to find a AutoHotKey group! I have already RTFM'd. I need the code to write out a file with the name 20060306100624 ...
Dave Przebiegelec
an_american_...
Online Now Send Email
Mar 6, 2006
4:17 pm

Dear Dave, Filename = % A_Now ;assigns the curennt time string to variable Filename Filename = % A_Now ".txt" ; for a filename with .txt extension ;To Append...
A N Suresh Kumar
goyyah
Offline Send Email
Mar 6, 2006
4:35 pm

=> Thank you <= That got me close enough to do a hotkey timestamped archive of a critical file I work in a lot. Dave -- In AutoHotkey@yahoogroups.com, "A N...
Dave Przebiegelec
an_american_...
Online Now Send Email
Mar 7, 2006
3:03 am

Dear Dave, I would love to see you @ AHK Forum. Please find time to visit http://www.autohotkey.com/forum/ Regards, Goyyah aka Suresh ... From: Dave...
A N Suresh Kumar
goyyah
Offline Send Email
Mar 7, 2006
7:26 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help