Last active
January 3, 2020 22:37
-
-
Save mkldon/5768fca4f4755cf545dcc9e78e92a3f9 to your computer and use it in GitHub Desktop.
Autohotkey - autosave with F5 every 10 minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance | |
#UseHook | |
Loop { | |
If (!LastF5) | |
{ | |
LastF5 := 0 | |
} | |
If ( (A_TickCount - LastF5) > 10 * 60 * 1000) | |
{ | |
LastF5 := A_TickCount | |
SendInput {F5} | |
} | |
Sleep 1000 | |
} | |
F5:: | |
LastF5 := A_TickCount | |
SendInput {F5} | |
return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment