I'm trying to run an applescript application on Mac OSX that automatically takes a picture with photobooth. It isn't working. The keystroke for taking a picture is "command" and "return".
Here is my script so far:
tell application "Photo Booth"
activate
end tell
tell application "System Events"
delay 3
keystroke "return" using command down
end tell