Windows Python program to make full-screen screenshots every 10 seconds for accountability purposes.
Go to https://github.com/SimonBaars/auto-screenshot-windows/releases/tag/1.0 and download the auto_screenshot.exe executable. Execute it and you can find the screenshots at Pictures/Screenshots.
For autostart:
- Press
Win + R, enter:shell:startup - Place a shortcut to
auto_screenshot.exehere.
- All screenshots are saved in
Pictures/Screenshots/YYYY/MM/DD/HH_MM_SS[_monitorX].png - Duplicate consecutive screenshots (unchanged displays) are deleted automatically.
- Errors are logged to file; script resumes automatically.
- XFCE (Linux): https://github.com/SimonBaars/xfce-auto-screenshot
- Android (Magisk): https://github.com/SimonBaars/magisk-auto-screenshot
- Android (APK): https://github.com/SimonBaars/Android-AutoScreenshot
- Windows 10 or later (though it prob works on earlier Windows versions)
- Python 3.7+
- Install required packages:
pip install pillow imagehash mss psutil
-
Save Script
- Save the provided Python script as
auto-screenshot.pyin any folder.
- Save the provided Python script as
-
Test Run
- Execute the script:
python auto-screenshot.py - Screenshots will appear under
Pictures/Screenshotsin a structured date/time format.
- Execute the script:
-
Convert to Executable (Optional)
- For a standalone
.exe(no Python install required):pip install pyinstaller pyinstaller --onefile --noconsole auto-screenshot.py - Resulting
.exewill be in thedistfolder.
- For a standalone
Either method works:
- Press
Win + R, enter:shell:startup - Place a shortcut to
auto-screenshot.pyor the packaged.exehere.
- Open Windows Task Scheduler.
- Create Basic Task:
- Trigger: At logon
- Action: Start Program
- Program/script: Path to
python.exeor your compiled.exe - Add arguments:
auto-screenshot.py(if using.py) - Start in: Directory of your script
- Program/script: Path to