Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image_name=TextBox.png
- Gui, Add, Edit, r1 x100 y35 w300 Center vLane
- Gui, Add, Text, x60 y40, Lane:
- Gui, Add, Button, gPress x220 w50, Submit
- Gui, Show,w500 h100, League of Legend Auto Chat-Picker
- return
- Press:
- Gui, Submit
- if Lane!=""
- MsgBox, You chose: %Lane%
- if Champ!=""
- MsgBox, You chose: %Champ%
- f1::
- ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, %image_name%
- if ErrorLevel = 2
- tooltip impossibile condurre ricerca
- else if ErrorLevel = 1
- tooltip Immagine non trovata
- else
- loop
- {
- WinGetTitle, Title, A
- if Title=Client PVP.net
- mousemove, %FoundX%, %FoundY%, 0
- MouseClick, left
- Send, %Lane%
- Send, {enter}
- tooltip Immagine trovata a: %FoundX%x%FoundY%.
- }
- return
- esc::
- msgbox Script chiuso dall'utente
- exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement