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


That should do it!

Wayne



Reply via email to