On Wednesday, Oct 6 1999, Peter Reid wrote:
> Hi
>
> I'm developing an app that launches a standard browser such as
> Internet Explorer with particular potted web pages. The app is
> intended for both Mac and Win. The question is - is there any way of
> finding the location of the browser program on a given machine (Mac &
> Win) so my app can work on any machine without neding to recode the
> full path of the browser in each case?
On Windows, try:
put word 1 to -2 of
queryRegistry("hkey_local_machine\software\classes\http\shell\open\
command\") into gWebBrowserPath
On the MacOS:
send "http://www.whatever.com/" to program "Finder" with "GURLGURL"
Regards,
Kevin
> Thanks for any suggestions.
>
> Cheers
>
> Peter
> --------------------------------------------------------
> Peter Reid
> Reid-IT Limited, Loughborough, Leics., UK
> Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
> E-mail: [EMAIL PROTECTED]
> Web: http://www.reidit.co.uk
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.