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:
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 Key
board).