Jump to content

"wait for pixel" - Real easy noob question!


Recommended Posts

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.

Link to comment
Share on other sites

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?
Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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