this site best experienced with a standards compliant browser.

robzand.com

use automator on mac to restart applications

Tuesday, April 8th, 2008 at 9:25 am

it’s unfortunate to have to resort to this, but at times there’s no better solution. here’s 2 useful scripts to restart quicksilver and firefox easily with the os x automator.

restart firefox

do shell script "killall firefox-bin"
do shell script "open /applications/firefox.app"

restart quicksilver

do shell script "killall Quicksilver"
do shell script "open /Applications/Quicksilver.app"

to create an automator script, do the following:

  1. right-click on the desktop
  2. select “automator > create workflow…”
  3. paste the code above in the appropriate spot within the “run applescript” dialog
  4. save your script

there are much better automator tutorials available elsewhere, but this should get you started.

filed under: other
comments: Comments

blog comments powered by Disqus