bobjohnson3242
Newcomer
- Joined
- Jan 9, 2011
- Sythe Gold
- 0
- Messages
- 1
All I am looking to do is click inside an area to enter a battle for this game called world of tanks. So Basically I want it to click this red area where it says "battle" in the screenshot below.
I looked at another thread and came up with this
but it seems to give me errors. The color im looking for is "597", "51" and the screen dimension is "1276, 776" (its in windowed mode)
I looked at another thread and came up with this
program Colour;
var
x, y : integer;
begin
If FindColor(x, y, 597, 51, 1276, 776) Then
begin
movemouse(x, y);
clickmouse(x, y, true);
end;
end.
but it seems to give me errors. The color im looking for is "597", "51" and the screen dimension is "1276, 776" (its in windowed mode)


