CookieMonster12
2011-04-12 15:57:55
Hello, longtime lurker here. I was wondering if anyone could make a script that would click from a range of colors with a time delay between clicks
2011-04-12 15:57:55
2011-04-12 16:04:33
2011-04-12 16:05:15
2011-04-12 16:07:52
2011-04-12 16:09:57
Colours[I] := [1000, 2000, 3000, 4000, 5000, 6000, 7000];
for I to High
do
if (FindColorTolerance(x , y, Colours[I], x1, y1, x2, y2, 15)) then
begin
MMouse(x, y, 1, 1);
Wait(1000);
end;
2011-04-12 16:12:59
program new;
var x,y:Integer;
const
COLOR_CODE= 1;
begin
Repeat
If FindColorTolerance(x, y, COLOR_CODE, 1, 1, 200, 200, 50) Then
Begin
MoveMouse(x,y);
ClickMouse(x,y,1);
wait(1000);
End;
Until(False)
end. 2011-04-12 16:21:32
program new;
{$i SRL\SRL.scar}
Procedure ClickIt(Colours:Array of Integer; TimeToWait:Integer; LeftClick:Boolean);
Var I,x,y:Integer;
Begin
For I:= 0 To High(Colours) Do
Begin
FindColor(x,y,Colours[I],0,0,1000,1000); //not sure how to find client size
Mouse(x,y,0,0,LeftClick);
Wait(TimeToWait);
End;
End;
begin
ClickIt([1,2,3,4,5],1000,True); //Would click colours 1,2,3,4,5 and wait a secound after each and it would left click
end.
2011-04-12 16:40:11
2011-04-12 16:52:10
From: CookieMonster12April 2011?
Hello, longtime lurker here.
2011-04-12 16:58:44
2011-04-12 17:46:03
2011-04-12 19:29:19
From: CookieMonster12
Would be the example and yes it isn't for rs. The link to click is the 'train again' in the lighter color, see above for example.
Just need a delay between clicks and a pause ability because every 15-25minutes there is a captcha that needs to be filled out. (I would be at computer to moniter this, just don't want to pay attention to clicked links)