I'm trying to do PixelSearch but the function call takes abnormally long. As you can see in the attached picture, the methode takes 71 seconds to produce an output.
code:
Code: Select all
2::
PixelSearch, px, py, 321, 401, 0x43C4FE, 10, Fast
if ErrorLevel = 0
{
msgbox found
}
else
{
msgbox notfound
}
return
i have tried the basic stuff: restart and reinstall.
Should be mentioned i'm running it on a virtual machine (Windows 10 x64) but i've never had this problem before on another virtual machine.
Don't know what is causing this, some help would be appriciated