OS X: Can launch app but not file

Alex Rice alex at mindlube.com
Sun Aug 31 02:06:02 EDT 2003


On Sunday, August 31, 2003, at 12:27  AM, Richard Gaskin wrote:

> The Mac OS API's _launch call has been riddled with issues since Mac 
> OS 7,
> or maybe earlier.  This gets funkier in OS X since a .app is not a 
> file, but
> really a folder.
>
> Best to use AppleScript and let the Finder sort it out:
>
>   tell program "Finder" to open "drive:folder:application.app"

That reminds me. Hugh Senior posted a gem of a launchURL handler last 
week:

http://lists.runrev.com/pipermail/use-revolution/2003-August/021885.html


Alex Rice <alex at mindlube.com> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco




More information about the use-livecode mailing list