|
|
AppleScript to Force-mount unmountable disk images
[Rob, you can delete the post above (when are we going to get edit privileges?) if you want; I modified the script to fit nicely--F]
It just so happens that we already built an AppleScript solution using this method; I'll paste it below for those who are Terminally challenged. As for the issue with password protected disks, this script will indeed trigger a GUI window asking for any such passwords not already stored in Keychain. I have yet to find an instance where presentation of the password box triggered the failure we're looking to overcome in this hing, but the -stdinpass switch would likely resolve it (see the man page), and could be added to this script.
AppleScript to Force-mount unmountable disk images
Man, it is amazing how fast folks around here report bugs. Sorry for the oversights; the script was originally written for single DMGs, and I added multiples without really testing it or thinking it through; also we rarely use a special character in a file path because we're so used to working on the web. All bugs should be resolved, except those idiosyncracies that exist with name problems in hdiutil (such as "image already specified" errors).
AppleScript to Force-mount unmountable disk images
Now, if you could add an "on open" handler that handled drag-and-drop, you'd be all set! Just drag your dmg files onto the script and they would mount. No file dialog to get in the way.. :-)
AppleScript to Force-mount unmountable disk images
Hi there... |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|