• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finding default browser with AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Finding default browser with AS
  • Next by Date: Re: Fastest Sort for text and numbers
  • Previous by thread: Re: Finding default browser with AS
  • Next by thread: Re: Finding default browser with AS
  • Index(es):
    • Date
    • Thread