Python script to keep screen active
- Python 3
- PyAutoGUI 0.9.53
Install all required modules:
pip install -r requirements.txt
Open your favourite environment, install required modules and just run script for minimum functionality. See examples below.
Simple usage:
python ./screen_activity_keeper.py
Usage with mouse:
python ./screen_activity_keeper.py -m
or
python ./screen_activity_keeper.py --mouse
Usage with super focus on Microsoft Teams:
python ./screen_activity_keeper.py -p path/to/microsoft/teams/installation/Teams.exe
or
python ./screen_activity_keeper.py --teams-path path/to/microsoft/teams/installation/Teams.exe
Usage with super focus on Microsoft Teams and mouse:
python ./screen_activity_keeper.py -m -p path/to/microsoft/teams/installation/Teams.exe
or
python ./screen_activity_keeper.py --mouse --teams-path path/to/microsoft/teams/installation/Teams.exe
For MS Teams installation try checking "%LOCALAPPDATA%\Microsoft\Teams\current\Teams.exe".