node-process-windows
node-process-windows copied to clipboard
Manage application windows via a Node API - set focus, cycle active windows, and get active windows
This fixes some errors where the JSON cannot be decoded and the process exits
Hello, i am using node-process-windows inside my electron app. But i get an error: `TypeError: Cannot read properties of null (reading 'filter') at C:\Executeables\testapp\resources\app.asar\node_modules\node-process-windows\index.js:78:39 at C:\Executeables\testapp\resources\app.asar\node_modules\node-process-windows\index.js:100:13 at ChildProcess.exithandler (node:child_process:413:5) at...
I've built an fullscreen app (running on windows 10) that launches another fullscreen app. Occasionally, the launched app starts behind the launcher app. I'm attempting to use focusWindow to bring...
It seems like this project has been abandoned. Possible alternatives include: - https://github.com/sentialx/node-window-manager - https://github.com/htblaleonie/node-process-windows
I was trying to get a list of all active applications window using this module, but it doesn't show me processes for windows like control panel, command prompt, power shell...
I'm trying to send key commands to another application from within a nodeJS application. The application doesn't receive keyboard focus or come to the front. It only flashes in the...
Fix issue #9 by surrounding the executable path with ". Otherwise you get the following error: ``` { Error: Command failed: C:\Program Files\app\resources\app.asar\node_modules\node-process-windows\windows-console-app\windows-console-app\bin\Release\windows-console-app.exe --processinfo 'C:\Program' is not recognized as an...
The `getActiveWindow` doesn't return anything, have you forgotten to commit something? ``` /** * Get information about the currently active window * * @param {function} callback */ function getActiveWindow(callback) {...
```js var processWindows = require("node-process-windows"); processWindows.getActiveWindow((err, processInfo) => { if (err) console.log(err) console.log("Active window title: " + processInfo.mainWindowTitle); }); ``` Dont log anything