This is a simple background program(less than 100 lines in C++) which just suspends active program by pressing ESC key for 2 seconds.
It can be useful in games with high hardware usage(even in game pause menu) and when you need leave your PC for some time during the game.
It can be added into windows tasks and autoload as well.
Suspend the app - focus the application, press ESC for 2 seconds.
Resume the app - click ESC 1 time(it's not necessary to focus suspended app).
- Some apps cannot run normally after suspending.
- You should run this program with admin rights, otherwise it can't hanlde processes with higher privileges.
Tested on Windows 10.