An open API service indexing awesome lists of open source software.

https://github.com/cactoes/win-get-active-window

gets the title + exe name of focused (/active) window
https://github.com/cactoes/win-get-active-window

active-window javascript windows

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# win-get-active-window
Is a windows rebuild of:
[https://github.com/octalmage/active-window](https://github.com/octalmage/active-window)

## Installing
```
$ npm install win-get-active-window
```

## Usage
```javascript
const getActiveWindow = require("win-get-active-window")

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

## License
[MIT](LICENSE.md)