I am a fairly low-level programmer (self-taught), so please excuse any silly questions. I'm creating an applescript which will do some things if a certain program (Mail) is closed, and other things if it is open. Is there an easy way to determine if an application is running in Applescript or...