Skip to content

cactoes/win-get-active-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win-get-active-window

Is a windows rebuild of: https://github.com/octalmage/active-window

Installing

$ npm install win-get-active-window

Usage

const getActiveWindow = require("win-get-active-window")

console.log(await getActiveWindow())
/* returns an object:
{
  app: string
  title: string
}
*/

License

MIT

About

gets the title + exe name of focused (/active) window

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published