Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created March 17, 2010 10:18
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 sgallese/335099 to your computer and use it in GitHub Desktop.
Save sgallese/335099 to your computer and use it in GitHub Desktop.
tell application "Firefox" to activate
delay 1
set i to 0
repeat while (i < 8000)
do shell script "screencapture -xi ~/Desktop/capture/1.png &> /dev/null &"
delay 0.01
do shell script "~/Desktop/customclick"
delay 0.03
try
do shell script "curl -T Users/student/Desktop/capture/1.png ftp://128.148.199.24/Desktop/ --user MCM:PASSWORD"
end try
set i to i + 1
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment