MS Windows 7: Avoid application lost focus

PHOTO EMBED

Mon Aug 29 2022 14:10:52 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

* Open CMD, then type regedit + Enter key.
* Look this route: 

HKEY_CURRENT_USER
 \Control Panel
  \Desktop
  
* And set value:
    
ForegroundLockTimeout DWORD 0x00000000 (0)
content_copyCOPY

This trick avoid the lost of focus when application is opened. With this application get focus immediatelly when opened.