- Joined
- Apr 13, 2010
- Messages
- 12
- Motherboard
- Gigabyte GA-Z87MX-D3H
- CPU
- i7-4770k
- Graphics
- Radeon 5870
- Mac
- Classic Mac
- Mobile Phone
Just thought I'd post another alternative. Using a simple Applescript and setting it as a 'Login Item' under Accounts does the trick as well.
Code:
tell application "Terminal"
activate
do script ¬
"diskutil unmount \"/Volumes/Windows 7\"" in ¬
window frontmost
delay 5
quit
end tell