Moving certain spam emails automatically to trash

If you click the Installation Instructions link on the script page, it tells you how to run the script from a global menu while you’re in Mail.

If you set up your rules as shown in Example 1 here and you then train a message as spam or use Block Sender on it, future messages from that sender will go directly to the trash.