node-windows-foreground-love
node-windows-foreground-love copied to clipboard
API wrapper for AllowSetForegroundWindow
API wrapper for AllowSetForegroundWindow
Installing
npm install windows-foreground-love
Using
var allowSetForegroundWindow = require('windows-foreground-love').allowSetForegroundWindow
console.log(allowSetForegroundWindow(pid))
console.log(allowSetForegroundWindow()) // all processes will be enabled to set the foreground window
Supported platforms
- Windows
- Other platforms: installs, but doesn't do anything and always returns false
Developing
-
npm install -g node-gyp
-
npm install
-
npm test
Resources
License
MIT