>As I want to use a mixture of real 
>URL's and local copies of Web pages, I was hoping to do the same as 
>the Win tip.  Is there any equivalent way of getting MacOS to give 
>the path of the default browser?
Maybe, either through Applevents or AppleScript(via my external). 

Also note that on Windows, using launch or shell  to open a web page
opens another instance of the browser or opens the page in a new window.

To open a web page in an existing window, you can use DDE (via my
external):
    put "www.metacard.com" into thewebsite
    get ext_appsopen()
    if "internet explorer" is in it then ext_ddeexecute
"IExplore","WWW_OpenURL",thewebsite
    else if "netscape" is in it then ext_ddeexecute
"NSShell","WWW_OpenURL",thewebsite
    else
    put word 1 to -2 of
queryRegistry("hkey_local_machine\software\classes\http\shell\open\comman
d\") into    tBrowserPath
    launch thewebsite with tBrowserPath
    end if

regards,
Tuviah Snyder
Diskotek
Custom Application Development & SuperCard/HyperCard Conversion at a low
price

Reply via email to