layer Posted October 30, 2004 Share Posted October 30, 2004 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 Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted October 30, 2004 Share Posted October 30, 2004 Nope sorry =/ Just shorten the area of the search. Link to comment Share on other sites More sharing options...
SlimShady Posted October 30, 2004 Share Posted October 30, 2004 (edited) Did you check the help file?Hint:Use the step parameter. Edited October 30, 2004 by SlimShady Link to comment Share on other sites More sharing options...
scriptkitty Posted October 30, 2004 Share Posted October 30, 2004 (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 October 30, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
layer Posted October 31, 2004 Author Share Posted October 31, 2004 ok, thank you guys, and scriptkitty, youve solved everything for me today!!! thank you so much! i really do appreciate it FootbaG Link to comment Share on other sites More sharing options...
mcfr1es Posted November 2, 2004 Share Posted November 2, 2004 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. Link to comment Share on other sites More sharing options...
this-is-me Posted November 2, 2004 Share Posted November 2, 2004 You're kinda late... This was answered correctly about 4 days ago. Who else would I be? 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