processId - web automation property
Not available in Open Twebst 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
©
2014 CodeCentrix Software. All rights reserved.