threadId - web automation property

Not available in LITE Edition!
Internet Explorer automation property that returns the thread ID of the Internet Explorer window represented by the current Browser object.

Applies to:
Browser
  var tid = browserObj.threadId;
Arguments:
None.
Remarks:
The returned thread ID can be used in Search conditions for FindBrowser and FindAllBrowsers web automation methods.
Example:
var coreObj    = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");
WScript.Echo(newBrowser.threadId);
		
See also:
Browser | FindBrowser | FindAllBrowsers | foregroundBrowser | processId | useRegExp

© 2011 CodeCentrix Software. All rights reserved.