external.AutoScan() (Method)

Connects to a web server using a template and registry scanning process to work out the target web server address from a partial domain name.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyExternal.AutoScan(aDomain, anErrURL)
IEmyExternal.AutoScan(aDomain, anErrURL, aTarget)
Argument list:aDomainThe domain address of a web site
anErrURLA URL to display if aDomain is inaccessible
aTargetThe target window or frame to put the content into

This mechanism is used to find a web site when you are not certain of the URL.

The registry in the client system contains a list of top level domains such as .com, .net, .org, and .edu which will be tried one at a time until a valid connection is completed.

If none of these turns out to yield a working site address, then the error URL is accessed and displayed instead.

The browser will add the leading "www." to the domain address so you might only need to specify a domain value of "wrox" for the browser to eventually connect to "www.wrox.com".