larcerkev Posted November 6, 2009 Share Posted November 6, 2009 (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 November 6, 2009 by larcerkev Link to comment Share on other sites More sharing options...
jvanegmond Posted November 6, 2009 Share Posted November 6, 2009 You can set the AutoIt option PixelCoordMode to use coordinates relative to the current active window. github.com/jvanegmond Link to comment Share on other sites More sharing options...
larcerkev Posted November 6, 2009 Author Share Posted November 6, 2009 You can set the AutoIt option PixelCoordMode to use coordinates relative to the current active window.Thanks, this worked just fine. Link to comment Share on other sites More sharing options...
Bert Posted November 6, 2009 Share Posted November 6, 2009 The game Diablo II has a TOS against using BOTS. http://us.blizzard.com/support/article.xml?locale=en_US&articleId=21133&pageNumber=1&searchQuery=terms+of+use The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now