here's the code i'm having trouble with: While 1 = 1 While WinExists ("Launcher") > 0 ; if window exists ... While WinExists("Steam Connection") > 0 ; check if this error windows exists and close Send("{ENTER}") Sleep (500) WEnd While WinExists("Steam Connection Error") > 0 ; check if this error windows exists and close Send("{ENTER}") Sleep (500) WEnd Sleep (60000) ; check again in a minute WEnd ; if window does not exist S