Orgins Posted October 19, 2006 Share Posted October 19, 2006 I made a script but I want to reduce its time so. Instead of waiting a huge amout of time more then needed I'd like it to look at 249 , 216 for a color (13926528) or a change in the color then contune with the rest of the script. How would I do that? I'm not the best in codeing I played with PixelChecksum/PixelGetColor/PixelSearch all I counldn't get to work rite. I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
Paulie Posted October 19, 2006 Share Posted October 19, 2006 I made a script but I want to reduce its time so.Well, its gonna be hard to help you with nothing to start from, please post code Link to comment Share on other sites More sharing options...
Orgins Posted October 19, 2006 Author Share Posted October 19, 2006 All the code works fine the only time wasted was in one spot which is what this topic is for. I had sleep 50000 for a progress bar that cold take anywhere from 5 secs to 50. I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
Paulie Posted October 19, 2006 Share Posted October 19, 2006 All the code works fine the only time wasted was in one spot which is what this topic is for. I had sleep 50000 for a progress bar that cold take anywhere from 5 secs to 50.well. I guess i'll have to get my feet wet here... you could try this with PixelCheckSum() Its very similar to the example, but since i'm not sure what you want to do with this pixel... $Value = PixelChecksum(249, 216, 249, 216) While $Value = PixelChecksum(249, 216, 249, 216) Sleep(200) WEnd ;Put rest of script here Link to comment Share on other sites More sharing options...
Orgins Posted October 19, 2006 Author Share Posted October 19, 2006 Tested and............ITS GOOD! I'm a newbie.Sorry if I don't reposed to your replays very fast. 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