OS X: Can launch app but not file

tkuypers at pandora.be tkuypers at pandora.be
Sun Aug 31 15:26:00 EDT 2003


Put "tell program " & quote & "Finder" & quote & " to open " & quote &
"drive:folder:application.app" & quote into vScript
Do vScript as applescript

This should do the job ;-)

Greetz,

Ton Kuypers

> From: Kaveh Bazargan <kaveh at deletethisbit.focalimage.com>
> Reply-To: use-revolution at lists.runrev.com
> Date: Sun, 31 Aug 2003 20:57:25 +0100
> To: use-revolution at lists.runrev.com
> Subject: Re: OS X: Can launch app but not file
> 
> At 11:27 pm -0700 30/8/03, 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"
>> 
> 
> I am slowly finding my way around. Now how do I send an AppleScript with
> Rev? In Hypercard you chose AppleScript from a pop-up box.
> -- 
> Kaveh
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 




More information about the use-livecode mailing list