0.3.3 • Published 2 years 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-controlQuick 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
2 years ago
0.3.3
2 years ago
0.3.1
2 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.5
3 years ago
0.2.0
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago