0.3.3 • Published 1 year ago
node-window-control v0.3.3
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-manager
https://github.com/sentialx/node-window-manager#readme
0.3.2
1 year ago
0.3.3
1 year ago
0.3.1
1 year ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.5
2 years ago
0.2.0
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago