Detect default browser?

Thierry Arbellot thierry.arbellot at wanadoo.fr
Mon Jan 19 06:58:02 EST 2004


the command replaceText(shell("defaults read 
com.apple.LaunchServices"),"(\(|\))","") lists all defaults app in OS X
the block of lines starting with "U:http" gives the default browser.

Hope it helps.

Thierry.

On Monday, Jan 19, 2004, at 05:38 Europe/Paris, rgould8 at aol.com wrote:

> With Revolution on Mac OS X, is there a command that tells you what 
> the user's default browser is set to, (for instance, which browser 
> will be launched with the revGoURL command)?  Perhaps the Rev engine 
> is unaware, since it's using Applescript to launch the browser?
> _______________________________________________
> 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