Sign in to follow this  
Followers 0

Why this simple Script Keep Stopped Working?

1 post in this topic

#1 ·  Posted (edited)


Please Help me I need this script so bad but when i build it and run And press "P" it says Stopped Working and Exit

i also uploaded my program files if it helps


#include <ImageSearch.au3>

HotKeySet("p", "checkForImage")

global $y = 0, $x = 0

Func checkForImage()
Local $search = _ImageSearch('img.bmp', 0, $x, $y, 0)
If $search = 1 Then
MouseMove($x, $y, 10)

while 1

Edited by Ramin

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0