open url theurl

Klaus Major klaus at
Fri Nov 12 06:40:20 EST 2004

Hi Eric,

> In hypercard "open url theurl" will open a webbrowser and go to theurl.
> How can i do this in metacard or revolution without using applescript?
> i don't want to load the url into a field - i want to open a browser 
> and go to
> theurl.

On OS X you can use "shell":

on mouseUp
   put "" into tUrl
   ## does work with other URLs, too, of course :-)
   get shell("open" && tUrl)
end mouseUp

Will do exactly what you want..

On windows there might be a similar approach, but i am not sure...

Hope that helps.

> thanks!


Klaus Major
klaus at

More information about the Use-livecode mailing list