Ask For Photos
Alas, Apple doesn’t provide an API for its iLife applications, but MacOSXHints points out that iPhoto has an Automator action for choosing photos, so it should be possible to do this programmatically without completely rolling your own (via Matthew Binkowski).