Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to autotake a photo from the camera on my MacBook Air and put the photo in a folder.

Is it possible?

share|improve this question
up vote 2 down vote accepted

Indeed it is possible. There are several command line utilities that you can use. I have setup a script in my Air to take a picture whenever it wakes up by using imagesnap.

You can run imagesnap from an applescript or you can use cron to schedule it to take a picture at a time interval.

Another option would be EyeSight, which is an app that automates the whole process of taking a picture and saving it to a folder (or upload it via FTP) every N seconds.

Edit: I misread the title of the question and thought you only asked for automated pictures in time intervals. To answer your question, that is, to take a picture with your Air's cam everytime you open the lid you can use a combination of imagesnap and sleepwatcher.

share|improve this answer

You can hack around some solution using sleepwatcher and imagesnap. Here's the description how to do that: how to

Or you can use an app that does exactly that - Selfie App - but it's paid app on the Mac App Store.

Full disclosure: I'm the author of Selfie App

share|improve this answer
Thanks for the full disclosure and I realize that your incentive for answering this question probably relates to your app. That said, this is a link-only answer which will have limited value if any of the links become unavailable. You do start the answer with a link to a solution. Please add the essential elements of that link to your answer. That will make it an acceptable answer on SU so it doesn't get deleted as a link-only answer, plus it will show how much simpler it would be to just use Selfie App. Win-Win. :-) – fixer1234 Feb 2 '15 at 1:34
Will do. Thanks for feedback :) – grzaks Feb 2 '15 at 9:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.