Platforms to show: All Mac Windows Linux Cross-Platform

WindowsListMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A class to list all the windows on a Windows system.
Example
// list the titles of all visible top level windows on Windows
Var list As New WindowsListMBS
Var lines() As String

For i As Integer = 0 To list.WindowCount - 1
If list.WindowVisible(i) And list.WindowText(i) <> "" Then
lines.Add list.WindowText(i)
End If
Next

MessageBox String.FromArray(lines, EndOfLine)

To find all processes on Mac, use the ProcessMBS class.
To find all windows on Mac OS X, use the CGSWindowListMBS class.

This class has no subclasses.

Blog Entries

Release notes

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsKeyFilterMBS   -   WindowsLocationExceptionMBS


The biggest plugin in space...