node-node-process-windows
Manage application windows via a Node API - set focus, cycle active windows, and get active windows
Installation
Requires Node 4+
npm install node-process-windows
Supported Platforms
Currently, this module is only supported on Windows, and uses a .NET console app to manage windows.
Pull requests are welcome - it would be great to have this API work cross-platform.
Usage
- Get active processes
var processWindows = ; var activeProcesses = processWindows;
- Focus a window
var processWindows = ; // Focus window by process... var activeProcesses = processWindows; // Or focus by name processWindows;
- Get active window
var processWindows = ; var currentActiveWindow = processWindows;
Contributing
Pull requests are welcome