Hazel 

Hazel is an intriguing preference pane that allows you to do away with crufty folder action scripts and have a single place to define automated processing actions for files:

This page is referenced in: