Skip to content

Instantly share code, notes, and snippets.

@caius
Created July 26, 2009 18:38
Show Gist options
  • Save caius/155878 to your computer and use it in GitHub Desktop.
Save caius/155878 to your computer and use it in GitHub Desktop.
--
-- Script to beat the "How fast can you type" game on facebook.
-- http://apps.facebook.com/typea-z/?ref=mf
--
-- Created by Caius Durling on 2009-07-26.
-- Copyright 2009 Caius Durling. All rights reserved.
--
-- Click "Start" on the quiz, switch to script editor and hit run.
--
set alphabet to {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"}
tell application "Safari"
activate
delay 0.5
repeat 5 times
repeat with letter in alphabet
activate
tell application "System Events" to keystroke letter
end repeat
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment