SRL Archive - OSR Help

Scripting help 'Mousespeed


Sable

2013-05-04 20:02:35

how would i make the mouse speed faster for just one procedure?

rj

2013-05-04 20:08:19

Before the procedure put MouseSpeed := Speedhere

and after set it to 15(default)

Sable

2013-05-04 20:22:25

where is after? after the procedure or ? can you post an example?

Sjoe

2013-05-04 20:37:11

From: Sable
where is after? after the procedure or ? can you post an example?



procedure WhatEvaIdoWhatIWant;
var
ChinkyDonky, x, y:integer;
begin
MouseSpeed := 20; // Default is 15, example here: 20 ==> mousespeed increases

If FindDtm(ChinkyDonky, etc.....) then Mouse(x, y, 2, 3, true);

MouseSpeed := 15; // Setting it back to default at the end of my procedure

end.


Sable

2013-05-05 10:05:39

thanks , works.