This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This part is ignort in Hazel, so don't bother with it. | |
set theFile to choose file | |
hazelMatchFile(theFile) | |
-- The above part doesn't matter in Hazel | |
on hazelMatchFile(theFile) | |
set sizeList to {16, 19, 32, 48, 64, 96, 128} | |
tell application "Image Events" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- some parts taken from http://bit.ly/SaneBoxSpamSieve | |
-- original post on http://wp.me/p4WzrV-12 | |
on accountAndMailboxNames() | |
-- Enter your account name, followed by a list of mailboxes for that account that should be filtered. | |
-- The account name comes from the "Description" field in the Accounts tab of Mail's preferences. | |
-- For example, this would filter the @SaneLater mailbox of Account 1: | |
-- return {{"Account 1", {"@SaneLater"}}} | |
-- And this would filter the @SaneLater and Other mailboxes of the Personal account | |
-- and the @SaneLater mailbox of the Work account: |