News for hackers. Stuff that matters.
Re:Taking pictures with your MacBook every time the lid opens by sil3ntmac on Monday January 10, 2011 @03:59PM (#2089716)
I used to do the same thing, but a little differently. I used SleepWatcher as well, ( http://www.bernhard-baehr.de/ ), but set it up to run the following script, which uses isightcapture ( http://www.intergalactic.de/pages/iSight.html ) to do it all in the background:

   NOWDATE=`/bin/date +%Y.%m.%d-%H.%M.%S`
   /usr/local/sbin/isightcapture ~/login_images/$NOWDATE.png
   /usr/bin/scp -o ConnectTimeout=5 ~/login_images/$NOWDATE.png [email protected]:~/login_images
Where I have an SSH fingerprint for [email protected] installed. This let me back up the images to a server, for convenience and security.

Edited for code formatting.

Re:Taking pictures with your MacBook every time the lid opens by icefox on Monday January 10, 2011 @04:04PM (#2089738)
That is pretty much the solution I had for the first week before I switch to photo booth whos main advantages were: - I could compose a photo with objects and or just remember to be in frame and smile - I could easily delete a bad photo with just a click. - I could take several photos right there and then if I wanted.