I managed to make it work (it was too fast and no "stay option" so I did not see. It does track the image that I want though but it does not left click the mouse button when i run my script.
FindClick("C:\Program Files\AutoHotkey\Graphics\NewFile.png", "e sleep300 mp")
i am trying to use this on bluestack but I can't seem to make it click or maybe it was too fast? I have tried it with different sendmode but it seems to be not working for some reason.
Weird, when I added the random speed function, It worked for me.
FindClick("C:\Program Files\AutoHotkey\Graphics\NewFile.png", "FuncClickWithRandomSpeed e o10 center1 stay1")
LowerBound = 2
UpperBound = 10
Random, Speed, LowerBound, UpperBound
SendMode, Event ; Sendmode must be "Event" or else its instantaneous
SetMouseDelay, 10 ; MouseDelay must not be 0 or else its instantaneous
MouseMove, x, y, Speed
Edited by hunts02, 23 August 2013 - 03:52 PM.