unmount disk image (*.dmg) file


/ Published in: AppleScript
Save to your folder(s)

In this case, if we have mounted GyazMail.dmg, unmount it.


Copy this code and paste it in your HTML
  1. tell application "Finder"
  2. if exists "GyazMail" then
  3. do shell script "hdiutil detach \"/Volumes/GyazMail\""
  4. end if
  5. end tell

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.