>set targetApp to "PowerMail" >tell application "System Events" > set processExists to exists process targetApp >end tell > > >if processExists is true then > tell application "PowerMail" > ignoring application responses > quit > end ignoring > end tell >end if sdf
-- "I could tell you a million stories, I could cost you your beliefs. But, I've never stolen from a honest man, 'cause I'm the prince of thieves. " -- Prince of Theives: Walking Wounded OP LoftBed Preferred Builder: http://www.wbwoodworks.com/ Wayne's Music Calendar: http://ical.mac.com/wayneb/Music PowerMail AppleScript Archives: http://www.ctmdev.com/tools/ Music Currently playing:

