smi-file to launch an app to open the volume
smi-file to launch an app to open the volume
- Subject: smi-file to launch an app to open the volume
- From: Harald E Brandt <email@hidden>
- Date: Sat, 16 Feb 2002 11:49:12 +0100
Disk Copy can create smi files where it is told to launch an application when it is being mounted. However, when that app terminates, it also dismounts that image/volume. How can that be avoided?
My purpose:
I think it is confusing for the user that, when double-clicking an smi-file, it only mounts the image without opening its contents. (And the mounted thing might even be hided behind other windows so the user wonders why nothing happened).
I want to remedy this by having a small opener app in my smi-files,
which only does:
tell application "Finder" to open disk of (path to me)
In principle, that works fine, but it immediately dismounts the image after it has opened the container, which then of course also makes the container disappear! Extremely irritating! There is no such thing as a keyword for "keep mounted". What to do?
______heb________________________________________________________________
Harald E Brandt email@hidden PGP/MIME aware
http://heb.bragit.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.