From 84e1b538746338dbcacb81525e9a1dfde38bc118 Mon Sep 17 00:00:00 2001 From: Ven0m0 <82972344+Ven0m0@users.noreply.github.com> Date: Sun, 1 Mar 2026 06:35:26 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Optimize=20Spider-Man=20start=20scr?= =?UTF-8?q?ipt=20by=20replacing=20fixed=20sleeps=20with=20WinWaitActive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- Other/start_Spider-Man.ahk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Other/start_Spider-Man.ahk b/Other/start_Spider-Man.ahk index 2cb87d8..a1ce4d0 100644 --- a/Other/start_Spider-Man.ahk +++ b/Other/start_Spider-Man.ahk @@ -17,8 +17,7 @@ SetTitleMatchMode("Fast") ; Spider-Man requires Enter key to dismiss splash screen WinWait("ahk_exe Spider-Man.exe") -Sleep(500) +WinWaitActive("ahk_exe Spider-Man.exe") ControlSend("{Enter}", , "ahk_exe Spider-Man.exe") -Sleep(3500) WinActivate("ahk_exe Spider-Man.exe") ExitApp()