Re: smi-file to launch an app to open the volume
Re: smi-file to launch an app to open the volume
- Subject: Re: smi-file to launch an app to open the volume
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 16 Feb 2002 08:37:01 -0800
On 2/16/02 2:49 AM, "Harald E Brandt" <email@hidden> wrote:
>
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?
>
>
Have you tried asking the Finder to duplicate it to the startup disk, which
is what people usually do with disk images?
--
Paul Berkowitz
_______________________________________________
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.