Skip to content

Instantly share code, notes, and snippets.

@benspaulding
Created January 5, 2010 18:28
Show Gist options
  • Save benspaulding/269579 to your computer and use it in GitHub Desktop.
Save benspaulding/269579 to your computer and use it in GitHub Desktop.
AppleScript that quits and relaunches Bowtie.
(*
AppleScript that quits and relaunches Bowtie. Bowtie has some
issues on Mac OS 10.6 and frequently needs restarted.
*)
set bowtieApp to application "Bowtie"
tell bowtieApp to quit
try
tell bowtieApp to run
on error
tell bowtieApp to launch
end try
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment