• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

mounting password protected disk image

x_kzy_xd

Member
I have a password protected disk image with all my logins. I use an AppleScript to mount the disk image right now:

do shell script "hdiutil mount '/..../Password.dmg'"

delay 2

tell application "Numbers" to open "/Volumes/Password/Password.txt"



Notice the "delay 2". This is the time I leave for myself to enter the password. But sometimes, this doesn't work and I dont enter my password in time. Is there a way for the AppleScrip to open the Password.txt file automatically after the image is mounted (however long that may take)?
 
Why don't you just create an alias to password.txt, and run that alias instead of your applescript? Mac OS X will automount the DMG to get to password.txt.
 
Last edited:
Back
Top