Skip to content

Instantly share code, notes, and snippets.

@scottharvey
Created March 10, 2011 08:07
Show Gist options
  • Save scottharvey/863731 to your computer and use it in GitHub Desktop.
Save scottharvey/863731 to your computer and use it in GitHub Desktop.
Apple script to refresh firefox then switch back to TextMate
tell application "Firefox"
activate
end tell
tell application "System Events"
tell process "Firefox"
keystroke "r" using {command down}
end tell
end tell
tell application "TextMate"
activate
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment