StartHiddenBrowser - web automation method

Not available in Open Twebst edition!
Starts a new invisible instance of Internet ExplorerInternet Explorer browser and returns a Browser web automation object connected to it.

Applies to:
Core
  var b = coreObj.StartHiddenBrowser("url");
Arguments:
Remarks:
The window of the newly started browser is invisible and the URL is specified by the url parameter. The method throws a web macro exception if a new browser instance can not be started. In this case the lastError property of the Core object is set to FAIL_ERROR. This Internet Explorer automation method works for all browser versions: IE6, IE7, IE8 and IE9 and with IE protected mode on Windows XP, Vista and Win7.
Example:
var coreObj    = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartHiddenBrowser("http://www.codecentrix.com/");
newBrowser.ShowBrowserWindow(newBrowser.SHOW_VISIBLE);
		
See also:
Core | Browser | foregroundBrowser | ShowBrowserWindow | StartBrowser

© 2014 CodeCentrix Software. All rights reserved.