Created
May 14, 2012 18:56
-
-
Save dbergey/2695699 to your computer and use it in GitHub Desktop.
don't switch chat tabs when switching to chat app
This file contains 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
tell application "System Events" | |
if (count of (every application process whose name is "iChat")) > 0 then | |
activate application "iChat" | |
else | |
activate application "Adium" | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment