I'd like to rig my computer to take a picture of me whenever I open the lid. I have already found a script that will run some command each time the lid opens, but I don't know what command I can use to tell Photo Booth to take the picture.

Automator seems to have a "take photobooth picture" action, but it doesn't work on OSX 10.6.6, which is what I have.

Thanks for any tips,