#Requires AutoHotkey v2.0 #SingleInstance Force ; Press F9 to start the auto-screenshotting F9:: { ; High-pitched "Chirp" to confirm start (800Hz for 150ms) SoundBeep(800, 150) Loop { ; Random interval between 5s (5000ms) and 30s (30000ms) Interval := Random(5000, 30000) Sleep Interval ; Send Shift+S to Steam SendEvent "+a" } } ; Press F10 to stop the script and reload F10:: { ; Lower-pitched "Blip" to confirm stop (400Hz for 150ms) SoundBeep(400, 150) Reload() }