I run this when I am about to start a script

It closes all running apps, then just opens coderunner, applescript
editor and start playing my iTunes playlist