Jump to content

Question about PixelSearch..


Recommended Posts

Kk, well ik the code and scripts for pciking a color, and then finding that pixel in an area and clicking it.

Problem is, it only stays fixated to one item with that pixel, is there any way to have it find the pixel, then switch to another part of the screen with that pixel, and keep finding new ones instead of staying only fixed to one point?

Also, how do you find the pixelsearch rectangle coords for the left,top,right,bottom

Thanks :]

Link to comment
Share on other sites

  • Moderators

Kk, well ik the code and scripts for pciking a color, and then finding that pixel in an area and clicking it.

Problem is, it only stays fixated to one item with that pixel, is there any way to have it find the pixel, then switch to another part of the screen with that pixel, and keep finding new ones instead of staying only fixed to one point?

Also, how do you find the pixelsearch rectangle coords for the left,top,right,bottom

Thanks :]

Bump

1. Do not bump your post within a 24 hour period of your last bump/original post/posts in general. It's disrespectful to others that are also seeking help and their posts drop to the bottom as a result of it.

2. What the hell is "ik"?

3. Post a code example of at least what you are attempting, I read what you said 3 times, and can't make heads or tails of it.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Kk, well ik the code and scripts for pciking a color, and then finding that pixel in an area and clicking it.

Problem is, it only stays fixated to one item with that pixel, is there any way to have it find the pixel, then switch to another part of the screen with that pixel, and keep finding new ones instead of staying only fixed to one point?

Also, how do you find the pixelsearch rectangle coords for the left,top,right,bottom

Thanks :]

Please don't bump posts if you haven't waited at least 24 hours, it is discourteous to the other board members.

You specify the coordinates to search when you use PixelSearch(). To search a different part of the screen, just specify different coordinates. As for finding rectangle coords, you can use the Window Info Tool to find coordinates with your mouse.

I apologize if that doesn't answer your question.

Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...