AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need Script to protect my computer from my 2y old daughter

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
KingPatrick
Guest





PostPosted: Fri Feb 26, 2010 3:43 pm    Post subject: Need Script to protect my computer from my 2y old daughter Reply with quote

Hello, I need a script to disable the keyboard, mouse (only the buttons), the tower power & reset buttons and the dvd eject button because my 2y old daughter cannot stop pressing all these buttons & keys. Please any help with the commands and the way to exit from the script when all the keys and mouse buttons are disabled. Thanks.
Back to top
da_boogie_man
Guest





PostPosted: Fri Feb 26, 2010 3:51 pm    Post subject: Reply with quote

LOL! I feel for ya. I remembered seeing something like this and did a search. Try this:
http://www.autohotkey.com/forum/topic20601.html

DBM
Back to top
Guest






PostPosted: Fri Feb 26, 2010 4:16 pm    Post subject: Reply with quote

for power buttons
Back to top
KingPatrick
Guest





PostPosted: Fri Feb 26, 2010 4:20 pm    Post subject: Reply with quote

Thanks a lot, I think it will work but the script doesn't disable the tower power , reset & dvd eject buttons, is there a way to do this?
Back to top
answer4u
Guest





PostPosted: Fri Feb 26, 2010 4:56 pm    Post subject: Reply with quote

Code:
Drive, Lock, D ; <-- Locks D drive
Drive, Unlock, D ; <-- Unlocks D drive
Back to top
nom-guest
Guest





PostPosted: Sat Feb 27, 2010 6:11 am    Post subject: Reply with quote

The tower's power and reset switches are hardware based and can't be controlled by AHK. The dvd drive eject but is similar but there are software methods of opening and closing the drawer.

I could help you disable all the switches so they no longer work, I could help you relocate them to the back of the tower... but your best choice is to just try a velcro attached cover plate over the front of the computer. That should prevent the 'joy presses' of the buttons. Think of a U shaped portion of a small garbage can or plastic storage container with 2 of the ends removed. a couple of pieces of self-adhesive velcro on the outside of the computer and the inside of U shaped cover.

What I had to do was give my boys a toy with more exciting buttons thaat they would focus on and ignore the computer. In about a year you won't have to worry about it.
Back to top
Lexikos



Joined: 17 Oct 2006
Posts: 7295
Location: Australia

PostPosted: Sat Feb 27, 2010 11:50 am    Post subject: Reply with quote

nom-guest wrote:
The tower's power and reset switches are hardware based and can't be controlled by AHK.
In modern PCs, the power switch/button only sends a signal to the OS - what happens then depends on the OS and configuration. Guest's screenshot shows where it can be configured, but what it doesn't show is that you can configure the power button to "Do nothing". There's also an example script which can prevent shutdown, but it reportedly doesn't work in Vista and later.

Of course, that doesn't solve the reset problem.

Googling "disable eject" indirectly turned up this:
Author of Toddler keys wrote:
This is a little program I wrote to protect my computer from my daugher.
I see Toddler Keys is also mentioned in the thread da_boogie_man linked (Toddler Keyboard).
Back to top
View user's profile Send private message Visit poster's website
a_h_k



Joined: 02 Feb 2008
Posts: 627

PostPosted: Sun Feb 28, 2010 8:25 am    Post subject: Reply with quote

You can also set the button to power-off pc only after button has been held down for 4 seconds (done in cmos setup)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group