-->

Window Handle Name


-->

Window Handle Name. This is also very easy in powershell. To grab it with wsh, you can use the com dll found in this codeproject article.

Window Handle Safinat
Window Handle Safinat from safinaas.com

Foreach (process plist in process.getprocesses()) if (plist.mainwindowtitle.contains(wname)). To grab it with wsh, you can use the com dll found in this codeproject article. Using this, you can then grab a window handle like so:

-->

Window Handle Safinat

This grab's the window handle of the powershell process. This is also very easy in powershell. This page describes a simple and accurate way of determining (getting) the name of the application (process) of a given window handle (hwnd). To grab it with wsh, you can use the com dll found in this codeproject article.

-->