quicksilver, add apple script hotkey for quicksivler to hide/show emacs
[dotfiles.git] / scripts / emacs_toggle.applescript
1 tell application "System Events"
2     tell application process "Emacs"
3         if visible then
4             set visible to false
5         else
6             set visible to true
7             tell application "Emacs" to activate
8         end if
9     end tell
10 end tell