Avatar of Vidhyamadhav
Vidhyamadhav

asked on 

New Process Id in IE11 32 bit

Hi,

In IE 11 32bit Protected mode, as soon as Internet explorer is launched I get a process ID(4565) and it gets changed as soon as page is fully loaded (New Process id - 5678).
Is there any way to get new process Id in javascript ?

I use the below code to launch IE.

var URL = "www.google.com";
var wshShell = new ActiveXObject("WScript.Shell");
var IEVersion = "C:\\Program Files (x86)\\Internet Explorer\\IExplore.exe " + URL; //32bit
//var IEVersion = "C:\\Program Files\\Internet Explorer\\IExplore.exe "+URL; //64 bit
var LaunchApp = wshShell.Exec(IEVersion);
var AppProcessId = LaunchApp.ProcessID;
alert(AppProcessId );

ProcessId I see in alert and in task manager is different in IE11 32 bit.
Do you have any sample code to grab new processId in javascript Window script host ?
JavaScript

Avatar of undefined
Last Comment
BigRat

8/22/2022 - Mon