Skip to content

Instantly share code, notes, and snippets.

@dbergey
Created May 14, 2012 18:56
Show Gist options
  • Save dbergey/2695699 to your computer and use it in GitHub Desktop.
Save dbergey/2695699 to your computer and use it in GitHub Desktop.
don't switch chat tabs when switching to chat app
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