SRL Archive - Help

mouse speed


zluo

2012-05-17 02:18:05

what was the command to set mousespeed? and also do you have to state the mouse speed every procedure or can you just put it at the start of the script for it to be the same mouse speed throughout?
thanks

Abu

2012-05-17 02:28:09

Calling SetUpSRL in your mainloop will set your MouseSpeed to 15 for you.

You can change it at anytime by doing:
MouseSpeed := ANumber;

YoHoJo

2012-05-17 02:29:14

^ That line must be put anywhere AFTER the SetupSRL line.
Preferably right after it.

zluo

2012-05-17 02:47:21

so like this?
begin
SetUpSRL
mousespeed := 50;
end;

YoHoJo

2012-05-17 03:07:00

looks good.