This is a program I wrote for going semi-afk on games like oldschool runescape. The program works by constantly checking a selected area from change over time. There is a counter counting down and if change is detected the counter is reset. If the counter hits zero then a reminder message is audible spoken. All variables can be changed but the user. To start the program first click Get First Point and place your cursor in the upper left hand corner of the area you wish to check. Next do the same with Get Second Point for the lower right hand corner. You can check to make sure you have selected the right area by pressing the check area button. IMPORTANT: this program only works on a main display. If you have a multi monitor display change your main display to the screen you wish to check. Happy afking!!!
This script has two dependencies, Pillow and win32api. You can get both but using pip
pip install pypiwin32
pip install Pillow