• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
smi-file to launch an app to open the volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: smi-file to launch an app to open the volume
      • From: Cornwall <email@hidden>
    • Re: smi-file to launch an app to open the volume
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: XML-RPC call fails with -916 error (From: Ron Bishop <email@hidden>)

  • Prev by Date: Re: loops [naming variables]
  • Next by Date: How do you make a list of aliases?
  • Previous by thread: Re: XML-RPC call fails with -916 error
  • Next by thread: Re: smi-file to launch an app to open the volume
  • Index(es):
    • Date
    • Thread