SRL Archive - OSR Help

mouse function halp?


salbahi

2014-06-24 14:15:15

the mouse() is redic slow what other alternatives i can use to move the mouse
ex:mouse(100,150,1,1,True); would move the mouse so slow until it hits that coordinates

KeepBotting

2014-06-24 14:21:13

Set your mouseSpeed somewhere in your mainloop

salbahi

2014-06-24 14:25:17

can you give me an example plz

KeepBotting

2014-06-24 14:35:04

From: salbahi
can you give me an example plz

I believe all you've got to do is call
mouseSpeed := 40; //default is 20, higher number = faster mouse
in your script right after you call
setupSrl();
.

masterBB

2014-06-24 14:37:19

From: salbahi
the mouse() is redic slow what other alternatives i can use to move the mouse
ex:mouse(100,150,1,1,True); would move the mouse so slow until it hits that coordinates


At the start of the script call SetupSRL.

e: I was so slow :o ninja'd

salbahi

2014-06-24 15:07:30

ahh thanks guys it good now one more thing what mouse function that justs move mouse instead of left click or right click

masterBB

2014-06-24 15:33:59

MMouse

Haxz

2014-06-24 15:34:11

From: salbahi
ahh thanks guys it good now one more thing what mouse function that justs move mouse instead of left click or right click


MMouse
procedure MMouse(x, y, rx, ry: integer);

Moves the mouse. rx and ry are total range of the randomness for the mouse. i.e. if rx:=6 then the randomness of the mouse will be from x-3 to x+3.


edit: whops, ninja'd