Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created March 14, 2010 09:44
Show Gist options
  • Select an option

  • Save ELLIOTTCABLE/331890 to your computer and use it in GitHub Desktop.

Select an option

Save ELLIOTTCABLE/331890 to your computer and use it in GitHub Desktop.
# tell application "World of Warcraft" to activate
repeat
tell application "Finder"
set t to processes
repeat with x in t
if frontmost of x is true and name of x = "World of Warcraft" then
tell application "System Events"
keystroke "b" # SmartBuff hotkey
end tell
end if
end repeat
end tell
delay 15
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment