The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Key Locker

    Discussion in 'Windows OS and Software' started by NAS Ghost, Feb 16, 2008.

  1. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    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?
     
  2. de.1337

    de.1337 Notebook Evangelist

    Reputations:
    373
    Messages:
    491
    Likes Received:
    0
    Trophy Points:
    30
    hmm, sounds like someone might be able to whip something up in AutoHotkey...
     
  3. de.1337

    de.1337 Notebook Evangelist

    Reputations:
    373
    Messages:
    491
    Likes Received:
    0
    Trophy Points:
    30
    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. :D
     

    Attached Files:

  4. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    thanks but i cant even open it let alone adjust the extension
     
  5. de.1337

    de.1337 Notebook Evangelist

    Reputations:
    373
    Messages:
    491
    Likes Received:
    0
    Trophy Points:
    30
    ummm, you can't download the .pdf and change the extension to .exe? Anything specific?
     
  6. McGrady

    McGrady Notebook Virtuoso

    Reputations:
    1,400
    Messages:
    3,376
    Likes Received:
    0
    Trophy Points:
    105
    unplugging them works. :p
    unless you are on a laptop and not using external mouse and keyboard =x
     
  7. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    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
     
  8. j-dogg

    j-dogg Notebook Evangelist

    Reputations:
    136
    Messages:
    648
    Likes Received:
    0
    Trophy Points:
    30
    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
     
  9. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    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
     
  10. timtravel42

    timtravel42 Notebook Virtuoso

    Reputations:
    827
    Messages:
    2,004
    Likes Received:
    1
    Trophy Points:
    56
    wow this is a pretty cool program
    +rep
     
  11. de.1337

    de.1337 Notebook Evangelist

    Reputations:
    373
    Messages:
    491
    Likes Received:
    0
    Trophy Points:
    30
    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.
     
  12. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    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++
     
  13. de.1337

    de.1337 Notebook Evangelist

    Reputations:
    373
    Messages:
    491
    Likes Received:
    0
    Trophy Points:
    30
    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:

  14. NAS Ghost

    NAS Ghost Notebook Deity

    Reputations:
    297
    Messages:
    1,682
    Likes Received:
    0
    Trophy Points:
    55
    Ok thank you