Question:
how to enable/disable the keyboard?
lkjshgfr
2010-01-04 00:22:01 UTC
i want a simple way to quickly enable/disable the keyboard of my laptop .. any tricks?
Three answers:
?
2010-01-04 00:40:27 UTC
You can disable mouse and keyboard input using e.g. the AutoItX

component from a VBScript (you need to register a DLL on the target

computer), or you can use AutoIt to create an exe file that does the

job.



AutoIt/AutoItX is free and can be found here:

http://www.hiddensoft.com/autoit3/index.php





To disable mouse and keyboard input:



Set oAutoIt = CreateObject("AutoItX.Control")

oAutoIt.BlockInput "on"



Input will be automatically enabled when the script closes if you don't

issue an off command.



This function will have different effects depending on the operating

system used:.



Windows 95 No effect.

Windows 98 User input is blocked but AutoIt is also unable to simulate input.

Windows NT 4 (Without ServicePack 6) No effect.

Windows NT 4 (With ServicePack 6) User input is blocked and AutoIt can

simulate input.

Windows 2000/XP User input is blocked and AutoIt can simulate input.









--

torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway

Administration scripting examples and an ONLINE version of

the 1328 page Scripting Guide:

http://www.microsoft.com/technet/sc...er/default.mspx
snakeviper1000
2010-01-04 00:36:14 UTC
if youre looking into getting a wireless keyboard for your laptop and you dont want any buttons pressed on the laptop's keyboard you will have to go into BIOS by esc,del,or whatever way you get into it before the POST process starts meanign you gonna have to click either esc or del to get BIOS up before it the os starts loading up.
anonymous
2010-01-04 00:26:02 UTC
go on internet tools it will have all different stuff on there


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...