UNPKG

@johnlindquist/mac-windows

Version:

Provide information about Application Windows running and activate and Application.

13 lines (12 loc) 358 B
interface Window { name?: string; ownerName: string; [key: string]: any; } interface GetWindowsOptions { onScreenOnly?: boolean; showAllWindows?: boolean; } declare function activateWindow(windowName: string): Promise<void>; export declare const getWindowsList: (opts?: GetWindowsOptions) => Promise<Window[]>; export { activateWindow };