ScriptExport allows you to "export" your iPhoto pictures and movies by Processing them with shell Scripts. You can specify up to three scripts:
Preflight Script: This is run first
Per-Item Script: This is run once per photo or movie selected
Postflight Script: This is run at the end of the export.