All pastes #272262 Raw Edit

Ace_NoOne

public text v1 · immutable
·published 2006-12-08 21:38 UTC
rendered paste body
/*
auto-execute section
*/

Loop, 3 ; repeat three times
{
    If checkPixel(A_Index) = red
        GoSub, harvest
}

; end of auto-execute section
Return

/*
subroutines
*/

harvest:
    ; ... put commands here (e.g. incessant clicking)
Return

/*
functions
*/

checkPixel(xPos)
{
    ; ... put commands here (e.g. get color value)
    Return var ; e.g. return color value
}