Mic-M / ioBroker.windows-control

Adapter to control Microsoft Windows devices
MIT License
7 stars 3 forks source link

Enhancement GetAdmin: Check if app in focus #3

Open bahnuhr opened 4 years ago

bahnuhr commented 4 years ago

Kann man auch irgendwie ermitteln. ob ein Programm den Focus hat ? Also ob das Programm im Vordergrund liegt.

https://forum.iobroker.net/topic/31485/test-adapter-windows-control-v0-1-x-github/38

mfg Dieter

Mic-M commented 4 years ago

This is an enhancement request for GetAdmin. User wants to check if an app is in current focus of Windows. Probably similar implementation like GetAdmin's chk _(chk= FILENAME (Searches for the specified application in the list of running processes and returns true or false)