reenable ask to run game

This commit is contained in:
2024-02-13 19:11:39 +01:00
parent 6f502181f8
commit 5f656d459c
+9 -9
View File
@@ -2,13 +2,13 @@
SendMode "Event"
SetKeyDelay 100, 50
; if ( not WinExist("ahk_exe helldivers2.exe")) {
; runResult := MsgBox("Do you want to start the game?", "Run Helldivers 2?", "292 T10")
if ( not WinExist("ahk_exe helldivers2.exe")) {
runResult := MsgBox("Do you want to start the game?", "Run Helldivers 2?", "292 T10")
; if (runResult = "yes") {
; Run("steam://rungameid/553850")
; }
; }
if (runResult = "yes") {
Run("steam://rungameid/553850")
}
}
sendStratagem(keyname) {
BlockInput("On")
@@ -21,9 +21,9 @@ sendStratagem(keyname) {
global recording := false
HotIfWinactive("ahk_exe helldivers2.exe")
Hotkey("~Space", recorderHotkey, "Off")
Hotkey("~w", recorderHotkey, " Off ")
Hotkey("~s", recorderHotkey, " Off ")
Hotkey("~a", recorderHotkey, " Off ")
Hotkey("~w", recorderHotkey, "Off")
Hotkey("~s", recorderHotkey, "Off")
Hotkey("~a", recorderHotkey, "Off")
Hotkey("~d", recorderHotkey, "Off")
global loadoutSequence := ""