Jump to content
Sign in to follow this  
Rower

"wait for pixel" - Real easy noob question!

Recommended Posts

Rower

How can i get "wait for pixel" to search for colors between for example 1000000 to 99999999?

thx!

Share this post


Link to post
Share on other sites
Rower

PixelGetColor

err.. im using the "Steps" ^^

Share this post


Link to post
Share on other sites
Negative1

How can i get "wait for pixel" to search for colors between for example 1000000 to 99999999?

thx!

something like this?

$x = 0;change to location needed
$y = 0
while 1
    if PixelGetColor($x,$y) > 1000000 and PixelGetColor($x,$y) < 99999999 Then
;add your code here
    EndIf
WEnd

What are we going to do tonight Brain?Same thing we do every night Pinky try to automate the world.

Share this post


Link to post
Share on other sites
oMBRa

err.. im using the "Steps" ^^

What?

Share this post


Link to post
Share on other sites
Rower

something like this?

$x = 0;change to location needed
$y = 0
while 1
    if PixelGetColor($x,$y) > 1000000 and PixelGetColor($x,$y) < 99999999 Then
;add your code here
    EndIf
WEnd
ehm.. how do i get to the menu so i can write the code?

Share this post


Link to post
Share on other sites
Jos

What about you first study the Helpfile for a bit and follow the training you can find in this thread?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.