06-28-2009, 02:40 PM
Hi, I`m new here, and i have a problem
i need to end the rectangle operation if the script fond color in x=555 y=40 (maybe that`s not point with this color ? i`m not sure. how can i found the coordinates with this color?)
what`s wrong with this script ?
regards
IfColor 555 40 6a3f07 1
//the centre of a circle coordinate
x0=684:y0=411
//radii
rr=60
//space between
l=20
//angle
n=0
//first circle's radii
r=30
//circle number
For 10
While n<3.1415926*2
//involute of circle formula calculation
x=x0+r*cos(n)
y=y0-r*sin(n)
MoveTo x y
LeftClick 1
Delay 5
n=n+l/r
EndFor
n=0
r=r+rr
EndFor
Else
KeyPress 72,1
EndIf
i need to end the rectangle operation if the script fond color in x=555 y=40 (maybe that`s not point with this color ? i`m not sure. how can i found the coordinates with this color?)
what`s wrong with this script ?
regards