NoPowerOffKey

Last Revision:
Version 1.0, 2003-01-14
First Version
Build Requirements:
Runtime Requirements:
Carbon System 7.5

NoPowerOffKey is a sample extension to disable the power-off key. Starting with System 7.5, you can turn off power by pressing the power key, just as you turn on the Macintosh by pressing the power key. This behavior isn't appropriate for some classroom or kiosk settings. Starting with System 7.5.3, there is a programmatic way to turn off the power-off key behavior. This sample uses that call if it is available. This is the technique recommended by DTS. However if the call is unavailable, the sample patches Alert. NOTE: DTS does NOT recommend the patch on Alert, but realizes there may be an unavoidable reason to consider it. Requirements: System 7.5 Keywords: Power Key, kiosk, NoPowerOffKey