Convince Finder to eject disks
Leopard sometimes can be a little reluctant to eject disks and disk images in the Finder. You can click the eject button in the Finder sidebar, drag the disk to the Trash or right-click and choose Eject, but Finder just silently ignores you. You can open Disk Utilty and eject it fine through there (unless there are files open on it of course). This script is so you can eject troublesome disks quickly and easily even in Finder refuses to, and can also tell you which applications are stopping the disk being ejected as opposed to the Finder’s “something is open on that disk, but I’m not telling you what”!
- Mac OS X 10.4 (Tiger)
- Mac OS X 10.5 (Leopard)
- Fixed drag and drop and Finder selection.
- Added more timely dialog boxes using CocoaDialog.
- Changed Finder selection options so you can choose to do a normal scan if there is an inadvertent Finder selection.
- Fixed bug parsing optical volumes with spaces in the name so they don’t appear twice.
- If a disk and it’s subvolume(s) are selected for ejection, now subvolumes are skipped instead of throwing errors.
- Removed official Tiger support since I no longer have a Tiger test system.
- Changed disk discovery from relying on Applescript to parsing using System Profiler and diskutil on the command line to reveal more stuck and unmounted disks.
- Drag and drop and Finder selection eject is broken for disks, but works for network volumes at the moment, to be fixed in a future release.
- Added network volume support.
- Changed disk discovery from using Finder in applescript to using System Events (so no throwing error tantrums anymore if there are no ejectable disks, just a blank list).
- More robust error parsing, won’t return a success on a failure as often.
- Initial release.