if KeepWinZRunning { KeepWinZRunning := false return } KeepWinZRunning := true Loop { Loop, 2 { Send {a down} Send {a up} Sleep 500 } Send {Click 600 400, Left} Sleep 2000 Loop, 1 { Send {Right down} Send {Right up} Sleep 1000 } Loop, 9 { Send {Click, 1100 670, Left, Down} Sleep 3100 Send {Click, 1100 670, Left, Up} Sleep 100 } Send {Click, 1800, 1050, Left, Down} Send {Click, 1800, 1050, Left, Up} Sleep 500 Loop, 2 { Send {d down} Send {d up} Sleep 500 } Send {Click 500 400, 0} Send {Click 400 380, 0} Sleep 2000 Loop 9 { Send {f down} Sleep 2100 Send {f up} Sleep 100 } if not KeepWinZRunning break }