Skip to content

Get basic info about windows on OSX and Windows.

License

Notifications You must be signed in to change notification settings

gregermendle/winf

Repository files navigation

Window Info

Get basic info about windows on OSX and Windows.

API

Get a list of all windows open on the system.

listWindows(): Array<Window>

Get the position and dimensions of a window.

windowRect(window: Window): Rect

Get the title of a window, otherwise null.

windowTitle(window: Window): string | null

Determine if a window is full screen.

isWindowFullScreen(window: Window): boolean