Re: Finding default browser with AS
Re: Finding default browser with AS
- Subject: Re: Finding default browser with AS
- From: Andy Wylie <email@hidden>
- Date: Tue, 01 May 2001 03:15:10 +1200
>
> _____________________________
>
> property browser : ""
>
>
>
> if browser is "" then getBrowser()
>
>
>
> on getBrowser()
>
> open location ""
>
> delay 1
>
> set browser to name of (info for (path to frontmost application))
>
> tell application browser to quit
>
> return browser
>
> end getBrowser
>
>
Did you try running this script? It gives me an error on the line:
>
>
open location ""
>
>
Anyway, it seems to me that will only work if a browser is already open.
>
yep compiles in Smile and runs ok AS1.3.7, what's "it" that gives you an
error ?
and even more perplexing, how did you become David Blache ?
_____________________________ Andy