Last year I was hired to automate picture taking for a badge creation Filemaker database. Thanks to a free utility by Axel Bauer, "MacOSX CLI Utility to Capture Stills From iSight Camera", this turned out to be quite easy with the following tiny applescript:
Source >>