Jump to content

How to do this


Orgins
 Share

Recommended Posts

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

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

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

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...