A very simple AppleScript that toggles Isolator and DND mode on my IM clients.
The way I run the script is by first compiling it into an app (
osacompile -o run_isolate.app isolate.applescript) and placing it in
/Applications. Then I use
Alfred to activate it. Spotlight search works too.