Created
July 26, 2009 18:38
-
-
Save caius/155878 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- 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