Sign in to follow this  
Followers 0
Orgins

How to do this

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Tested and............ITS GOOD!


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
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
Sign in to follow this  
Followers 0