Forcefully quit any application in AppleScript
Post ReplyForcefully quit any application in AppleScriptPosted: Sunday, October 17, 2010 [15:50:13] - 1
Sometimes for one reason or another application won't quit in AppleScript, i.e. If your script depends on quitting application -- there is a simple way of making sure application quits. It could be any application instead of "Safari". Shell comes to the rescue: if quitResult contains "Applications/Safari" then delay 2 end if This way application process will be killed by underlying Unix |