open browser in OS X?

Frank D. Engel, Jr. fde101 at fjrhome.net
Tue Nov 30 13:29:25 EST 2004


on mouseUp
     revGoURL "http://www.apple.com"
end mouseUp


And that should work on all platforms  ;-)

On Nov 30, 2004, at 12:50 PM, Leston Drake wrote:

> Hello,
>
> I have a handler that opens a browser. On MacOS platform, the code 
> goes like this:
>
> on launchBrowser withFile
>   # withFile: URL
>   switch the platform
>   case "Win32"
>     ...
>   case "MacOS"
>     send withFile to program "Finder" with "GURLGURL"
>     break
>   end switch
> end launchBrowser
>
> Works fine on my old Mac (System 8.something).
>
> I'm trying to create an OS X version of the app, and this handler 
> doesn't work.
>
> Does someone have a script to open a URL in a browser on OS X?
>
> TIA.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list