=> 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.
>
>
>
------------------------------------------------------------------------------
>