invoke-html-browser

Function

Package: common-graphics

Arguments: path-or-url

Displays a web page or a file in a web browser. This function requires that either Netscape Navigator (tm) or Internet Explorer (tm) is installed, and that one of these browser programs is either registered as the default html browser or is currently running; otherwise a call to the function will do nothing. Returns t if the web page or file was successfully displayed, and nil otherwise.

The argument may be either a complete http URL, such as "http://www.franz.com/news/news.list.html", or the pathname or path namestring of an existing file, such as c:/windows/temp.txt. If Netscape Navigator (tm) is current running, the web page or file will be displayed there. Otherwise if Internet Explorer (tm) is running, the web page is displayed there. Otherwise whichever of these programs is the default HTML browser is started up and the web page or file is displayed there.

See also web-page-contents.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.