T talguy macrumors member Original poster Jun 17, 2009 30 0 Sep 17, 2009 #1 I was wondering how I could write an applescript that would quit x11 when matlab quits.