From a3c240d3b0e54d1179fdea5acee2e2e5227ac9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E4=B8=80=E4=B8=80?= <1204244136@qq.com> Date: Thu, 22 May 2025 14:12:04 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A6=81=E7=94=A8=E5=9B=BD=E6=9C=8D?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DoroHelper.ahk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DoroHelper.ahk b/DoroHelper.ahk index 7286a30..f4d3089 100644 --- a/DoroHelper.ahk +++ b/DoroHelper.ahk @@ -305,7 +305,11 @@ Initialization() { winID := WinExist("ahk_exe " . targetExe) ; 获取窗口ID actualWinTitle := WinGetTitle(winID) ; 获取实际窗口标题 AddLog("找到了进程为 '" . targetExe . "' 的窗口!`n实际窗口标题是: " . actualWinTitle) - ; 你可以在这里添加其他操作,比如激活该窗口: + if actualWinTitle = "胜利女神:新的希望" { + MsgBox ("不支持国服,自动关闭!") + ExitApp + } + ; 激活该窗口 WinActivate(winID) } else {