This Week's Sponsor:

Listen Later

Listen to Articles as Podcasts


How To Turn Your iSight into a Security Camera with Automator

If you stay a lot of time away from your Macbook but you’ve always wanted to control what’s happening to your Mac while you’re not there, this tutorial is aimed at you.

Today I’ll teach you how you can easily turn your iSight into a security camera system, with automatic refresh time and FTP upload.

Enjoy!

You need:

Automator Loop Utility: to repeat an Automator workflow every x seconds. Download.

FTP server: to upload your iSight pictures.

Upload to FTP Automator action: Download.

isightcapture: a command line utility which capture an image with iSight camera.Download.

First, you have to install isightcapture. To do this, you have to put the file into /usr/bin. But, /usr/bin is hidden in the, so you have to open a new Finder window and hit Cmd + Shift + G and enter the path. Copy isightcapture here.

Open up Terminal and paste this command: isightcapture ~/Pictures/isight.jpg iSight will take a picture and move it to your Pictures folder. You’ll need this image later.

Now, it’s time to create the workflow. Fire up Automator.app and create a new workflow.

In the search box type “run” and select the action Run Shell Script. Drag it into the right panel.

Edit the shell script and paste this command into the text field:  isightcapture ~/Pictures/isight.jpg

Now, grab the Get Specified Finder Items and drag it into the actions pane. Click add and select the isight.jpg file in your Picture folder. That’s the one you shot before.

Add the Upload to FTP action and fill the required fields.

Save the workflow.

Now, drag the workflow you’ve just saved over Automator Loop Utility. The app will ask you where you’d like to save the new applet and to set a number of seconds to wait between the workflows execution. Don’t enter a small value, as the Upload to FTP action could require some time depending on your internet connection.

With this app you’ve just created you’ll able to see a picture of what’s happening in front of your Mac every x seconds. If you have access to your FTP server on the go, you can refresh the directory you chose and see the new picture.

If you don’t have a FTP server, you can use Dropbox. Leave Dropbox app open on your Mac and edit the workflow removing the Upload to FTP action; then, insert the Copy Finder Items action and set the path to your Dropbox folder. Be sure so to check “replace existing file” in order to see the most recent picture on your DropBox.

And that’s it!

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.