perf: 禁用国服端口
This commit is contained in:
parent
7606ef4039
commit
a3c240d3b0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue