title: How to get the main window handle of a process using JScript?
body: <p>Is there any method in JScript to get the handle of the main window of a process by providing the process name? The <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.mainwindowhandle.aspx" rel="nofollow noreferrer"><code>Process.MainWindowHandle</code></a> property works only in JScript .NET. Is anything similar available in classic JScript?</p>