dbmain
2007-02-11 17:24:04
program New;
//
var
pwd1,pwd2:String;
//
procedure three;
begin
repeat
if(isfkeydown(12))then
begin
pwd2:=Readln('Conform Password');
if(pwd1=pwd2)then
begin
getself.SHOW;
terminatescript;
end;
end;
MoveMouse(0,0);
until(false);
end;
//
procedure two;
begin
getapplication.messagebox('To Lock the Mouse push F2 and to stop push F12', 'Directions', 0);
repeat
if(isfkeydown(2))then
begin
getself.HIDE;
three;
end;
until(false);
end;
//
procedure one;
begin
pwd1:=readln('Set Password');
end;
//
begin
one;
two;
end.
i know thier is a glitch when you push F12 then you can move your mouse i cant figure out how to fix that.
//
var
pwd1,pwd2:String;
//
procedure three;
begin
repeat
if(isfkeydown(12))then
begin
pwd2:=Readln('Conform Password');
if(pwd1=pwd2)then
begin
getself.SHOW;
terminatescript;
end;
end;
MoveMouse(0,0);
until(false);
end;
//
procedure two;
begin
getapplication.messagebox('To Lock the Mouse push F2 and to stop push F12', 'Directions', 0);
repeat
if(isfkeydown(2))then
begin
getself.HIDE;
three;
end;
until(false);
end;
//
procedure one;
begin
pwd1:=readln('Set Password');
end;
//
begin
one;
two;
end.
i know thier is a glitch when you push F12 then you can move your mouse i cant figure out how to fix that.