SRL Archive - Other Scripts

Switch users


ShawnjohnSJ

2008-07-27 16:01:34

I'll be adding more of these later !


Use this if you want to switch users on your computer.
You can use it if you don't want anyone on your PC, just make it switch users every time it logs in.

* You need API calls enabled. Goto Script->API calls

Only tested on Windows XP. :-]



program SwitchUsers;

procedure SwitchUsers; external 'LockWorkStation@user32.dll stdcall';

begin
SwitchUsers;
end.


- Block all input with Keyboard and Mouse as long as the script is running.


program BlockIt;

function Block(bInput : Boolean) : Integer; external 'BlockInput@user32.dll stdcall';





begin
Block(true);
Wait(5000);
end.