-------8<------------ On some (perhaps all) laptops running Windows XP closing the "lid" puts the system into hibernation. -------8<------------ You can override this setting: start -> Settings -> Control Panel -> Power options -> Advanced and select 'Do nothing' When I close the lid of my portable computer.
-------8<------------ I would like to write a perl script that detects when the laptop is going into hibernation, aborts the hibernation and starts sounding an alarm. -------8<------------ Perl is overkill for this. Again: start -> Settings -> Control Panel -> Power options -> Beeps/Alarms select 'Enable' on the Lid close action beep. If youre still going to try and write something I want 10% of your royalties ;) Just in _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs