Automatic Security Cam for your Macbook

292845901 B8Fbc639Cd

This came out a few months ago, but I just found this on Flickr while researching the upcoming weekend project. It's a way of automating your isight to take a picture 60 seconds after you, or anyone, open it up. Flickr member omegastation set this up before sending off his macbook for fixing. In a worst case scenario, if someone stole your macbook, you could have your macbook send you pictures of them.

292861895 58Ffbd8Af3 O

I set this up and I made this little automator program that takes and sends the pictures, but I don't have a lot of experience programming from a terminal and I got hung up on step 5. If someone could make a little screencast of how to set this up, that would be awesome. This seems like it would be a simple first programming project! - Link

Update: Check the comments for super explicit instructions... with these instructions, anyone can program this now! Thanks Omegastation!


Recent Entries

Comments

Oldest comments listed first.

Posted by: omegastation on January 11, 2007 at 3:18 PM

Thanks for picking this up. I'll try to help you and everyone else out with step #5.

1. Open Terminal.app

2. You should now be in your user directory. Type:

pico .wakeup

Like so:

Image


3. Your window should look like this:

Image

4. Enter in these two lines:

#!/bin/sh
open /Applications/PhotoStudy.app

Where PhotoStudy.app is the name of your saved Automator action.

5. Press Control + X. Pico will ask you if you want to save your changes. Press 'Y'. It will ask you what to name the file. Just press return.

Image

6. Now, you need to make the file executable. Type this in your terminal window:

chmod 755 .wakeup

Then press enter. This makes the file executable by any user.

Image

Congratulations! You're done!

Also, I have since made a modification to the original workflow, which removes PhotoBooth from the picture. It uses a small hack called 'isightcapture', located here:

http://www.intergalactic.de/hacks.html

Just drop it in your home directory, then you can execute it from Automator.

This workflow waits 30 seconds, then takes a photo using this UNIX script:

~/./isightcapture WakingStudy.jpg

The items are then searched for, uploaded to Flickr, then thrown in the trash. Silent, stealthy and the only pop up is a "Workflow Running" message in the menubar.

Hopefully this makes sense to everyone. I don't have a lot of time to answer questions, so don't expect me to reply instantly to questions you may have.

My Workflow:
Image


Posted by: isnoop on January 11, 2007 at 4:30 PM

Can't you take an automator process and make it into a binary app? You might have to do some creative footwork to figure out how to customize the email address for each user, but it should be pretty painless.


Posted by: aplumb on January 12, 2007 at 7:34 AM

Yes, looks like you could work a little ImageMagick into that flow. Look forward to seeing how this one works out, Bre!


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE

Gifts for Dads
Science and Chemistry
More guides: Gifts Under $20, Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog