uknowngithubuser
4/15/2019 - 9:24 AM

Eject All Apple Script #AppleScript

Eject All Apple Script #AppleScript

try
	tell application "Finder"
		eject the disks
		display dialog "Successfully ejected disks." buttons {"Close"} default button "Close"
	end tell
on error
	display dialog "Unable to eject all disks." buttons {"Close"} default button "Close"
end try