darrellblackhawk
Programmer
The following blocks keyboard and mouse input.
It won't stop a cntrl+alt+delete.
Make sure you unblock after it's no longer needed.
If not, no other app will be able to run until a reboot.
Darrell
[tt]
Declare integer Sleep in Win32Api integer
Declare integer BlockInput in Win32Api integer
BlockInput(1)
Wait "Keyboard input blocked" window nowait
Sleep(5000)
BlockInput(0)
Wait "Keyboard input unblocked" window nowait
[/tt]
It won't stop a cntrl+alt+delete.
Make sure you unblock after it's no longer needed.
If not, no other app will be able to run until a reboot.
Darrell
[tt]
Declare integer Sleep in Win32Api integer
Declare integer BlockInput in Win32Api integer
BlockInput(1)
Wait "Keyboard input blocked" window nowait
Sleep(5000)
BlockInput(0)
Wait "Keyboard input unblocked" window nowait
[/tt]