Quit SpamSieve

Summary: Quits SpamSieve if it’s open.
Requires: SpamSieve and Mailsmith or Entourage
Suggested Key Binding: Mailsmith Shutdown Items folder or Entourage Quit Schedule

Description

If you put this script in Mailsmith’s Shutdown Items folder, SpamSieve will quit whenever Mailsmith quits. You can use it in Entourage by creating a schedule that runs an AppleScript on quit.

Note: recent versions of Mailsmith automatically quit SpamSieve when Mailsmith is quitting, and so this script is not necessary.

Download in Compiled Format | Download in Text Format

Script

tell application "System Events"
    
try
        
if exists (processes whose creator type is "mtSS") then
            
tell application "SpamSieve"
                
quit
            
end tell
        
end if
    
end try
end tell