Hi, I'm trying type my username and password when my game is fully loaded
Could anyone show me an example on how to do this? I've been researching for awhile and nothing seems to work for me.
This will not work for me even when the game is fully loaded
I'm new to ahk so sorry if this is a dumb question!
=::
EventOccured := false
while (EventOccured = false)
{
PixelSearch, Px, Py, 207, 207, 560, 400, 32333B, 3, Fast ; checks for login screen background pixel
if PixelSearch (Px, Py, 207, 207, 560, 400, 32333B)
{
EventOccured := true
}
}
while (EventOccured := true)
MouseMove, 1040, 575
click, 1040, 575
Send, Username
Send, `t
Send, Password
Send, {Enter}
-::exitapp
Simple PixelSearch problem Topic is solved
-
- Posts: 57
- Joined: 09 Oct 2017, 13:34
Re: Simple PixelSearch problem
Code: Select all
NumPad1::
Stop:=0
i:=0
While Stop = 0
{
PixelSearch, Px, Py, 207, 207, 560, 400, 0x2333BF ,,Fast RGB
if !ErrorLevel
{
MouseMove, 1040, 575
click, 1040, 575
Send, Username
Send, `t
Send, Password
Send, {Enter}
}
else {
Msgbox, pixel was not found.
}
}
return
Who is online
Users browsing this forum: Stpham and 59 guests