Skip to content

Instantly share code, notes, and snippets.

@cloudsben
Last active August 29, 2015 14:06
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 cloudsben/32c9dafc2f8d16abce8e to your computer and use it in GitHub Desktop.
Save cloudsben/32c9dafc2f8d16abce8e to your computer and use it in GitHub Desktop.
自动任务截取屏幕
tell application "Safari" to activate
delay 5
tell application "System Events"
repeat 240 times
key down {control}
key code 3
key up {control}
key code 124
delay 2.5
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment