I know there is the Winkey + L combination, but is there something that can just lock the keys and mouse in the background say while watching a movie?
-
hmm, sounds like someone might be able to whip something up in AutoHotkey...
-
So, if I wrote something to toggle blocking keyboard and mouse input by a key combination, would that work?
Edit: I got it done. Change the extension from .pdf to .exe. Run it to lock keys and mouse, press Ctrl+Alt+Delete to unlock. You will probably see Task Manager flash briefly. Hope this works for you.
Attached Files:
-
-
thanks but i cant even open it let alone adjust the extension
-
ummm, you can't download the .pdf and change the extension to .exe? Anything specific?
-
unplugging them works.
unless you are on a laptop and not using external mouse and keyboard =x -
I can download the .pdf but i cant view it because i get an error message saying its corrupted or something along those lines
Im on a laptop -
your not going to be able to view it, its an exe file changed to a pdf. dont even try to open it.
All you have to do is right click on it and rename it from Movie_Blocker.pdf to Movie_Blocker.exe
if you don't see the file extension follow this guide
http://www.tech-recipes.com/rx/1269/vista_show_unhide_file_extensions -
oh ok; i wanted to open to edit it but oh well....thank you for the help
also, is there a way i can edit the key combination? i think ctrl alt del might be a bit too easy because many people use that when keys lock up -
wow this is a pretty cool program
+rep -
I'm not sure... I wrote it in AutoHotkey. The reason I used Ctrl+Alt+Del was because the Windows API breaks the keylock when you do that. I'm not sure if I can use another combo... but maybe I'll look into it.
-
I see, well could you send me the source so i can see it? Im kinda interested in this program, though, starting lines with a semi-colon will feel weird seeing as im used to c++
-
Actually, you don't start lines with a semi-colon on AutoHotkey. A semi-colon is the default thing for starting a comment in the script.
It's not a very complicated script.
And.... as far as I can tell, Crtl+Alt+Del is the only way to manually break out of the input blocking from AutoHotkey. I can assign a different hotkey to locking the keys and I can make the script keep running when the input blocking has been broken out of (if you wanted to lock the keys again without having to run the program again... which you have to do in the current version). But Crtl+Alt+Del seems to be the only way to manually break out of the blocking.
The source code is attached. The extension is .txt, although you'll see it says .ahk.txt. The proper extension for AutoHotkey scripts is, you guessed it, .ahk. So, you can take the .txt extension off if you want to.Attached Files:
-
-
Ok thank you
Key Locker
Discussion in 'Windows OS and Software' started by NAS Ghost, Feb 16, 2008.