Sign in to follow this  
Followers 0
shiznid12

Sensing Movement

3 posts in this topic

I am not sure how I would go about this, but I know how to script most things in AutoIT.

BUT!!!!!! One thing I don't know how to do, is detect motion in a select area.

What I would like for this script to do is when motion is sensed, move the cursor to the moving object. However, I do not want this motion to search pixels for a certain color, because it has nothing to do with color.

It would be very helpful if someone would let me know how I would go about this. TY!

Also, this is not for anything illegal of any kind, nor cheating.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You could use PixelChecksum() in a loop and compare each return to an original.

Edit: The help file has an example of this.

Edited by big_daddy

Share this post


Link to post
Share on other sites

Hmm... I looked at the example, and it looks like it would work. But how exactly would I have it click on the moving object?

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