Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set diskName to "YourDiskNameHere"
- tell application "Finder"
- if disk diskName exists then
- eject disk diskName
- end tell
- end if
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement