Lots of good points in this thread. I've re-thought how this should work.
Mac Os X 10.7 Download Free
My problem is that my downloads folder gets cluttered with dmg files. I can't remember which ones I've already installed. Some of them I have opened and installed, but I've forgotten to move them out of my downloads folder. Some of them I downloaded but haven't opened yet.
Mac Os X Dmg File
My new version of the script moves the dmg file when it is mounted. To use it, save this script to '/Library/Scripts/Folder Action Scripts/' and attach this folder action script to the /Volumes directory. Ideally, my script would trigger when you eject the disk image, but by then it's too late; the disk image is gone, and there's nothing left for AppleScript to process. I figure triggering on mount was pretty good, since I really wanted to know what dmg files I had opened or not.
Delete Dmg File Mac Os X 10
Nov 13, 2017 If you can't empty the Trash on your Mac. Try these solutions if you can't empty the Trash or move a file to the Trash. If you can't delete the file for other. Mac OS X can experience difficulty deleting certain files due to the following (and other) reasons: The file is in use by an application or system process. The file is locked. The user does not have permission to delete the file. The file is damaged or otherwise corrupt and 'cannot be found' by the system.
Mac Os Dmg Download
Most of you didn't want to delete the dmg file. That's a good idea. My script now moves it to a dmg_archive folder. Feel free to change this to suit your needs.