Posted By

katz on 07/09/06


Tagged

applescript DiskImage


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

Roshambo
splorp
jpb
Caliban
kellyharding
Netzach
ingorichter
atr000


mount disk image (*.dmg) file


 / Published in: AppleScript
 

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

  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  

You need to login to post a comment.