Skip to content

Instantly share code, notes, and snippets.

@j-manu
Created November 18, 2011 10:54
Show Gist options
  • Save j-manu/1376154 to your computer and use it in GitHub Desktop.
Save j-manu/1376154 to your computer and use it in GitHub Desktop.
do shell script "sleep 60"
repeat with i from 1 to 200 by 1
tell application "Safari"
activate
end tell
do shell script "/usr/sbin/screencapture -x ~/Desktop/screenshots/" & i & ".png"
tell application "System Events"
tell process "Safari"
keystroke "r" using {command down}
end tell
end tell
do shell script "sleep 180"
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment