To hide SpamSieve’s icon from the Dock and the Command-Tab application switcher, follow the instructions below depending on which versions of macOS and SpamSieve you are using.
Mac OS X 10.7 (and Later) With SpamSieve 2.9.16 (and Later)
SpamSieve will automatically remember these settings when you update to a new version.
A future version of SpamSieve will include a preferences checkbox for more easily hiding and showing SpamSieve’s Dock icon, as well as a way to access this preference while SpamSieve’s Dock icon and menu bar are hidden.
Mac OS X 10.6 or Earlier (or SpamSieve 2.9.15 or Earlier)
To hide SpamSieve’s Dock icon, enter this command in Terminal:
/usr/libexec/PlistBuddy /Applications/SpamSieve.app/Contents/Info.plist -c "Set LSUIElement 1"
To show the Dock icon again, enter this command in Terminal:
/usr/libexec/PlistBuddy /Applications/SpamSieve.app/Contents/Info.plist -c "Set LSUIElement 0"
If you download a new copy of SpamSieve, it will have a new Info.plist file, so you would need to make the above change again if you still want SpamSieve’s Dock icon to be hidden.
Opening Windows From Apple Mail
When SpamSieve’s Dock icon is hidden, its menu bar is inaccessible. Therefore, a new command called SpamSieve - Open Window will appear in Apple Mail’s Message menu after quitting and relaunching Apple Mail. This lets you configure SpamSieve’s preferences, view the statistics, and access other parts of SpamSieve’s user interface. With other mail programs, you will need to use the Open Window script in order to do that.