DoIt
Do It is designed to work like the Startup folder in Windows, except that there are also folders for Suspend, Resume, Battery, AC and Shutdown. Just drag a shortcut into the appropriate folder and it will get run when that event occurs.
Do It Setup and ReadMe