Dec 20, '07 07:30:00AM • Contributed by: yeidel
The obvious cure is to unplug before sleep, but I have a habit of doing things in the opposite order. The following AppleScript reminds me to do first things first:
display dialog "Remove mouse before sleep" with icon caution
tell application "Finder" to sleep
I use Butler to trigger this with a hotkey, but any technique to launch an AppleScript will work.
