mount disk image (*.dmg) file


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

In this case, if we haven't mounted GyazMail.dmg, mount it.


Copy this code and paste it in your HTML
  1. tell application "Finder"
  2. if not (exists "GyazMail") then
  3. do shell script "hdiutil attach /Volumes/share/others/MacBook/GyazMail.dmg"
  4. end if
  5. end tell

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.