I have a password protected disk image with all my logins. I use an AppleScript to mount the disk image right now:
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)?
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)?