aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.programs.ahk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 0459825..2e5337f 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -172,7 +172,7 @@ F5::
return
*/
-#If WinActive("ahk_exe v2game.exe")
+#If WinActive("ahk_exe v2game.exe") or WinActive("ahk_exe CK2game.exe")
MButton::RButton
RButton::MButton
@@ -195,7 +195,7 @@ VictoriaWindowMessage(wParam, lParam)
if (wParam = 4 or wParam = 32772) ; HSHELL_WINDOW_ACTIVATED | HSHELL_RUDEAPPACTIVATED
{
WinGet, exe, ProcessName, A
- if (exe = "v2game.exe")
+ if (exe = "v2game.exe" or exe = "CK2game.exe")
{
Sleep, 1500
ClipCursor(True, 6, 6, A_ScreenWidth-5, A_ScreenHeight-5)