| View previous topic :: View next topic |
| Author |
Message |
KingPatrick Guest
|
Posted: Fri Feb 26, 2010 3:43 pm Post subject: Need Script to protect my computer from my 2y old daughter |
|
|
| 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
|
|
| Back to top |
|
 |
Guest
|
Posted: Fri Feb 26, 2010 4:16 pm Post subject: |
|
|
for power buttons
 |
|
| Back to top |
|
 |
KingPatrick Guest
|
Posted: Fri Feb 26, 2010 4:20 pm Post subject: |
|
|
| 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
|
Posted: Fri Feb 26, 2010 4:56 pm Post subject: |
|
|
| Code: | Drive, Lock, D ; <-- Locks D drive
Drive, Unlock, D ; <-- Unlocks D drive |
|
|
| Back to top |
|
 |
nom-guest Guest
|
Posted: Sat Feb 27, 2010 6:11 am Post subject: |
|
|
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
|
Posted: Sat Feb 27, 2010 11:50 am Post subject: |
|
|
| 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 |
|
 |
a_h_k
Joined: 02 Feb 2008 Posts: 627
|
Posted: Sun Feb 28, 2010 8:25 am Post subject: |
|
|
| 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 |
|
 |
|