Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically eject/mount disks on sleep/wake' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically eject/mount disks on sleep/wake
Authored by: SandraStrength on Feb 01, '10 01:27:37PM

So apparently the SleepWatcher appears to be a not so "easy" fix for the unmounting before sleep problem.

One work around is to use the automator to create an icon you can place on the desktop to put the system to
sleep. This automator sequence can be configured to be run automatically with systems that have auto-sleep as well.

Here is the sequence:
- Step 1: Automator uses Finder to identify the drive(s) you wish to unmount prior to sleep
- Step 2: Automator uses the "Eject Disk" command to eject all the drives you specified
- Step 3: Run the following applescript:

tell application "System Events"
sleep
end tell

Save this as an appropriate application, workflow, or plug-in and use accordingly.

Works consistently, reliably, and uses the under appreciated Automator app. :)

Hope this helps!



[ Reply to This | # ]