Sleep 5000 Found := ""   WinGet,active,id,A Loop {         WinGet,tera,list,ahk_class LaunchUnrealUWindowsClient         Loop, %tera%         {                 WinGetTitle,teratitle, % "ahk_id " tera%A_Index%                 if (teratitle = "TERA") and (tera%A_Index% = active)                 {                         MsgBox Successfully found an active Tera window.                         Found = Yes                         break                 }         }         if (Found = "Yes")         {                 break         }         Sleep 5000 }   F7:: ControlSend,,{1}, % "ahk_id " active Sleep 1500 ControlSend,,{2}, % "ahk_id " active Sleep 1500 ControlSend,,{3}, % "ahk_id " active Sleep 1500 ControlSend,,{4}, % "ahk_id " active Sleep 1500 ControlSend,,{5}, % "ahk_id " active return