SRL Archive - OSR Help

Best way to click inv item?


Sax

2012-10-27 17:11:50

So what is the best / more human-like way to click a inventory item (in this case an herb).

Peace :sasmokin:

Olly

2012-10-27 17:13:57

you can do invmouse(slot)

Footy

2012-10-27 17:19:55

If you are cleaning herbs, use a for..to..do statement to clean them like this.


Procedure cleanherbs;
Var
I:integer;
Begin
For I := 1 to 28 do
Begin
Invmouse(I);
Wait(randomrange(150, 300));
End;
End;

Enslaved

2012-10-27 19:27:08

From: Footy
If you are cleaning herbs, use a for..to..do statement to clean them like this.


Procedure cleanherbs;
Var
I:integer;
Begin
For I := 1 to 28 do
Begin
Invmouse(I);
Wait(randomrange(150, 300));
End;
End;

this is true, but it might also be an idea to send virtual keys like control+ up/ downto simulate mousekeys

freezeyp

2012-10-28 05:19:22

Invmouse Obviously, It won't move mouse again if you already place it within the area.

Enslaved

2012-10-28 05:38:25

what about rightclick options… that would move the mouse