Skip to content

Instantly share code, notes, and snippets.

@copley
Created September 2, 2017 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save copley/e27d6593c341e1c7e370e1f611e24743 to your computer and use it in GitHub Desktop.
Save copley/e27d6593c341e1c7e370e1f611e24743 to your computer and use it in GitHub Desktop.
How to Automate Shutdown of Recording Screencasts
Purpose: If a screencast is needed for a long time e.g. six hours. and no auto shutdown option is available.
1. Screen Cast with SimpleScreenRecorder
2. Set up Python script.
'''
import time
from pyautogui import typewrite, hotkey
#typewrite('a')
#typewrite('quick brown fox')
# set how much time you will record for. Time is in seconds.
time.sleep(3)
# this is the hot key to shutdown SimpleScreen Recorder
hotkey('ctrl', 'shift', 'w')
'''
3. Set how much time you will record for in the script.
4. Start Script
5. Start SimpleScreenRecorder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment