Snap and upload iSight pictures on wake from sleep

Jan 30, '07 07:30:03AM

Contributed by: Anonymous

I wrote an interesting script that will automatically take a picture when the machine wakes from sleep, then uploads and displays the image on your web site. I initially did this as an anti-theft measure. To make this work, you'll need a few things:

You can see the results of my efforts here. Apart from the nauseating effect of seeing my ugly mug over and over, the results are good. I hope to maybe do a timelapse in QuickTime sometime down the track!

[robg adds: I haven't tested this one. You'll need to customize the shell script with your site's FTP details, and remember to make it executable (chmod 755 progname). As explained on the linked site, you'll need to create a .wakeup file in your home directory, containing the full path to the shell script.]

Comments (13)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070126214841550