Skip to content

Instantly share code, notes, and snippets.

@geberl
Last active November 4, 2015 21:30
Show Gist options
  • Save geberl/3133c7e243f23cbbb6f8 to your computer and use it in GitHub Desktop.
Save geberl/3133c7e243f23cbbb6f8 to your computer and use it in GitHub Desktop.
Alfred AppleScript to unmount a drive based on its name.
on alfred_script()
tell application "Finder"
eject disk "media"
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment