Hi,
I'd like to add a few lines to my main AHK script (that's running 24/7) that will copy this script to another partition but with the name AutoHotkey-YYYY-MM-DD.ini (so for today it would be AutoHotkey-2005-11-24.ini)
once a day only - so I'd get one copy for every day the PC is running.
Any ideas? Maybe this could be somehow combined with the auto-reload on save script?
;2005-11-23
;auto-reloads the AHK script
;http://www.autohotkey.com/forum/viewtopic.php?t=135&highlight=auto+reload
$^s::
Send, ^s
SetTitleMatchMode, 2
IfWinActive, AutoHotkey.ini
{
TrayTip, AutoHotkey, reloading script...
SetTimer, RemoveTrayTip, 1500
}
return
RemoveTrayTip:
SetTimer, RemoveTrayTip, Off
TrayTip
Reload
return
;http://www.autohotkey.com/forum/viewtopic.php?t=135&highlight=auto+reload