-
auto color picking.
can someone teach me how to do this?
my msn is troy.cos@hotmail.com
ps i think it might be somthing like:
Code:
procedure pickcolors;
begin
findcolorspiraltolerance(knowncolor, MSX1, MSY1, MSX2, MSX2, Tol)
getmousepos(x,y)
getcolor(x,y, newcolor) ??
end;
-
PHP Code:
If(FindColorSpiralTolerance(x, y, A_SIMILAR_COLOR_TO_WHAT_YOU_WANT, MSX1, MSY1, MSX2, MSX2, THE_MAX_TOL_TO_SEARCH)then
Begin
MMouse(x, y, 0, 0, False);
GetMousePos(x, y);
TheColor := GetCOlor(x, y);
end;
-
-
alright thanks... now if i want to to find say 3 colors of one thing would i do that 3 diferent times with 3 diferent colors as A_SIMILAR_COLOR_TO_WHAT_YOU_WANT