Published in: AppleScript
In this case, if we have mounted GyazMail.dmg, unmount it.
tell application "Finder" if exists "GyazMail" then do shell script "hdiutil detach \"/Volumes/GyazMail\"" end if end tell
You need to login to post a comment.
Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.
katz on 07/09/06
7 people have marked this snippet as a favorite
Roshambo
splorp
jpb
Caliban
kellyharding
Netzach
atr000
Published in: AppleScript
In this case, if we have mounted GyazMail.dmg, unmount it.
tell application "Finder" if exists "GyazMail" then do shell script "hdiutil detach \"/Volumes/GyazMail\"" end if end tell
You need to login to post a comment.