What funtion/procedure do i need for that?
I search scar manuals and srl manuals but i didn't found it.
Can anyone tell me what procedure/function i need?
Tyvm
What funtion/procedure do i need for that?
I search scar manuals and srl manuals but i didn't found it.
Can anyone tell me what procedure/function i need?
Tyvm






You need to specify a box or else SCAR won't know where to look.
well you can target the whole screen just drag the crosshair onto the desktop =)
edit
but i dont think thats what hes asking... im not sure of the RS dimensions but you have to specify those... although if you use them a lot make a global variable and declare the variable to be the edges =)
Thx for your interest already.
But i think i may not have been very clear.
What i mean is like findcolorspiraltolerance(x,y,color,a,b,c,d,e,f,g,h ,tol)
so like it finds the color in the box (a,b,c,d) but not in a smaller box(e,f,g,h) In the Big box(a,b,c,d)
I hope this made thngs clearer.
Tyvm






Oh ok... I think this should work:
SCAR Code:function FindColorSkipBoxTolerance(var x, y: Integer; color, x1, y1, x2, y2, Tolerance: Integer; SkipBox: TBox): Boolean;
However the box that it skips must be defined as a TBox. To convert integers into a TBox use IntToBox:
SCAR Code:FindColorSkipBoxTolerance(x, y, Colour, a, b, c, d, Tol, IntToBox(e, f, g, h))
Woohoo that is what i was searching for.
Tyvm
your the best ^^
There are currently 1 users browsing this thread. (0 members and 1 guests)