Created
April 16, 2014 22:30
-
-
Save CoolOppo/10939174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CoordMode, Pixel, Screen | |
CoordMode, Mouse, Screen | |
CoordMode, Caret, Screen | |
Run, C:\Program Files\TeamSpeak 3 Client\ts3client_win64.exe | |
Sleep 1000 | |
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, lobbyUnselected.png | |
if ErrorLevel = 2 | |
MsgBox Could not conduct the search. | |
else if ErrorLevel = 1 | |
MsgBox Icon could not be found on the screen. | |
else | |
Click %FoundX%, %FoundY%, 1 | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment