SRL Archive - OSR Help

MouseSpeed problem


Illkillutill

2010-05-03 15:56:02

I know what i'm supposed to do, but it won't work…


a simple script like this won't compile…


program New;  

begin
MouseSpeed := 5;
end.


As far as I knew, MouseSpeed wasn't just an SRL include, so why won't this work? I know that MoveWindMouse let's you set the mouse speed without srl, so why can't you without the function itself?

I know the point of other functions are to make it more human like by not clicking instantly and to not move the mouse at the same speed all the time, but i'm not worried about that for this script, as it's not for rs.

I'm probably just missing some stupid mistake, or something like that. Any input would be great, thanks…

Naum

2010-05-03 15:57:04

MouseSpeed is, AFAIK, native to SRL:
program New; 
{.Include SRL/SRL.Scar}
begin
MouseSpeed := 5;
end.

E:
If you want to do it in SCAR:
MoveWindMouseEx
^ That lets you set the MouseSpeed

Frement

2010-05-03 15:57:12

program New;  
{.Include SRL/SRL.scar}

begin
SetupSRL;
MouseSpeed := 5;
end.

Timer

2010-05-03 15:57:13

program Test;
{.include SRL\SRL.scar}

begin
SetupSRL;
MouseSpeed := 5;
end.
EDIT: :ninja:

MylesMadness

2010-05-03 15:57:26

MouseSpeed is a srl variable so you need srl included. And you can only use it with (M)Mouse

Edit: Triple Ninja?

Illkillutill

2010-05-03 16:03:16

Wow you guys are fast… :P

Ok, thanks for answering, I just wanted to know if it was an srl variable or not, which it is, ok, thanks guys, it is appreciated.

Dgby714

2010-05-03 17:13:31

From: Naum
MouseSpeed is, AFAIK, native to SRL:
program New; 
{.Include SRL/SRL.Scar}
begin
MouseSpeed := 5;
end.

E:
If you want to do it in SCAR:
MoveWindMouseEx
^ That lets you set the MouseSpeed


From: Frement
program New;  
{.Include SRL/SRL.scar}

begin
SetupSRL;
MouseSpeed := 5;
end.


From: Timer
program Test;
{.include SRL\SRL.scar}

begin
SetupSRL;
MouseSpeed := 5;
end.
EDIT: :ninja:


From: MylesMadness
MouseSpeed is a srl variable so you need srl included. And you can only use it with (M)Mouse

Edit: Triple Ninja?



O.o same post times

Frement

2010-05-03 17:16:51

From: Dgby714
O.o same post times


The might of SRL! ;)