Sign in to follow this  
Followers 0
larcerkev

Pixelsearch restricting?

4 posts in this topic

#1 ·  Posted (edited)

Is there anyway that i can restrict a pixelsearch to the dimensions of a window?

I want to be able to have the window of a game anywhere while it searches for a certain color and returns a pixel location within the window that i can use with controlclick

EDIT: Or ever an command to detect where the windows pixels start would be very helpful.

Edited by larcerkev

Share this post


Link to post
Share on other sites



You can set the AutoIt option PixelCoordMode to use coordinates relative to the current active window.

Thanks, this worked just fine.

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