Jump to content

Recommended Posts

Posted

hey again, is there a way to make PixelSearch faster so that it doesnt take a second before the other funtion takes place? besides making the place to search smaller, there must be a way to make it faster. :)

FootbaG
Guest Py7|-|[]/\/
Posted

Nope sorry =/ Just shorten the area of the search.

Posted (edited)

if the item you are looking for has a large area of color, you could use a checkerboard type search for it.

In other words, if you were looking for a Yellow circle that was 300 pixels tall, you could have pixelsearch a box 20x20 then skip the next 20x20, and search the next 20x20, ect etc.

basically this is what step does

or you could do a search of 2pixels x desktop hieght skip next 30 width and repeat as long as your item is larger than 30 pixels in width in that color. but that would have to be scripted. :)

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted

ok, thank you guys, and scriptkitty, youve solved everything for me today!!! thank you so much! i really do appreciate it

FootbaG
Posted

try scanning every other pixel or every n th pixel. As you can probably guess, this increases excecution speed by a factor of n.

Roger! You son of a big pile o' Monkey Nuts.

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
  • Recently Browsing   0 members

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