TheOnlyOne
Feb 3rd, 2009, 11:30 AM
Hi there! =) I was download AutoIT for 3 days ago or something like that, i've been reading tutorials etc!
But now i want a function to work.
I want it to be like this:
I save codinates example and the color:
$color = PixelSearch( 150, 150, 250, 250, 0xFFFFFF, 2, 2 )
This is also the variable then.
AND Now what i want to do is that i want a Loop that is looking for this, and when this color is detected in the cordinate box then a msgbox will popup!
How do i program this!? My brain isn't big enough to understand how :S
I need also make a loop or something that must check this all time until the msgbox comes up.
But now i want a function to work.
I want it to be like this:
I save codinates example and the color:
$color = PixelSearch( 150, 150, 250, 250, 0xFFFFFF, 2, 2 )
This is also the variable then.
AND Now what i want to do is that i want a Loop that is looking for this, and when this color is detected in the cordinate box then a msgbox will popup!
How do i program this!? My brain isn't big enough to understand how :S
I need also make a loop or something that must check this all time until the msgbox comes up.