0.3.3 • Published 22 days ago

node-window-control v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
22 days ago

node-window-control

Manage windows in Windows

Install

To install this package, just run

npm install node-window-control

Quick start

The following example shows how to get the currently focused window's title and hide it.

const { windowManager } = require("node-window-control");

const window = windowManager.getActiveWindow();

// Prints the currently focused window bounds.
console.log(window.getBounds());

// This method has to be called on macOS before changing the window's bounds, otherwise it will throw an error.
// It will prompt an accessibility permission request dialog, if needed.
windowManager.requestAccessibility();

// Sets the active window's bounds.
window.setBounds({ x: 0, y: 0 });

Documentation

The documentation and API references are located in the docs directory.

Thanks

node-window-managerhttps://github.com/sentialx/node-window-manager#readme

0.3.2

22 days ago

0.3.3

22 days ago

0.3.1

2 months ago

0.2.7

12 months ago

0.2.6

12 months ago

0.2.9

12 months ago

0.2.8

12 months ago

0.2.3

12 months ago

0.2.2

12 months ago

0.2.5

12 months ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago