Advertisement
junh1024

Untitled

Apr 30th, 2014
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set diskName to "YourDiskNameHere"
  2. tell application "Finder"
  3.  if disk diskName exists then
  4.   eject disk diskName
  5.   end tell
  6.  end if
  7. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement