windows-foreground-love
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

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

The Old New Thing: Foreground activation permission is like love: You can’t steal it, it has to be given to you

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i windows-foreground-love

Weekly Downloads

5,741

Version

0.5.0

License

MIT

Unpacked Size

10.5 kB

Total Files

8

Last publish

Collaborators

  • the-ress