processId - web automation property
Not available in LITE Edition!
Internet Explorer automation property that returns the process ID of the Internet Explorer instance represented by the current Browser object.
Applies to:
- Browser
var pid = browserObj.processId;
Arguments:
- None.
Remarks:
-
The process ID returned by this web automation property can be used in Search conditions for FindBrowser and FindAllBrowsers IE automation methods.
Example:
var coreObj = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");
WScript.Echo(newBrowser.processId);
See also:
- Browser | FindBrowser | FindAllBrowsers | foregroundBrowser | threadId | useRegExp
©
2011 CodeCentrix Software. All rights reserved.