I want to use a simple script to backup the existing quicksave file before it's being overwritten by the game. Essentially, what I want is a new save file each time I hit F5:
F5::
OldQuickSave := "c:\Users\Me\Documents\My Games\Skyrim\Saves\quicksave.ess"
FileGetTime, qstime, %OldQuickSave%
BackupFileName := "c:\Users\Me\Documents\My Games\Skyrim\Saves\OldQuicksave" . qstime . ".ess"
FileCopy, %OldQuickSave%, %BackupFileName%
SendPlay {F5}
return
Outside the game it works, but while the game runs the command does not reach AutoHotkey. The game saves, as it should, but the script is not launched. It's as if I never pressed the key. My guess is that Skyrim uses DirectInput to read the keyboard, it consumes the event and doesn't send it further. Is there any workaround? Or any other solution to create a new savegame file for each quicksave?