Skip to content

Check which process is currently in the foreground (focused / active)

License

Notifications You must be signed in to change notification settings

MarshallOfSound/windows-active-process

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows-active-process

Quickly check which app is currently in the foreground. Returns the full path.

npm install windows-active-process
const { getActiveProcessName } = require('windows-active-process')
const activeProcess = getActiveProcessName()

// For instance 'C:\Users\felixr\AppData\Local\hyper\app-1.3.1\Hyper.exe'

License

MIT, please see LICENSE for details. Copyright (c) 2017 Felix Rieseberg.

About

Check which process is currently in the foreground (focused / active)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 51.6%
  • JavaScript 40.3%
  • Python 8.1%