• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MacBook Pro iSight Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacBook Pro iSight Scripting


  • Subject: Re: MacBook Pro iSight Scripting
  • From: Steve Hayman <email@hidden>
  • Date: Wed, 19 Apr 2006 01:35:36 -0400

Just idle curiosity - has anyone got a sneaky method of using an AppleScript (or shell script) to take a photo using the MacBook Pro's built in camera? Looks like PhotoBooth isn't scriptable. :-(

Here is a useful little command line iSight picture taker called "isightcapture":


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


Of course I immediately decided to use this to make a movie of me at work. Type this in Terminal:


for i in `jot 100`; do
	isightcapture $i.jpg
done

and it takes a series of iSight snapshots (one every ten seconds or so), storing them in 1.jpg, 2.jpg, 3.jpg ... 100.jpg. (It'd probably be faster if it was a universal binary, but on my macbook, one every ten seconds or so is as fast as it seems to go under Rosetta.)

Then in Quicktime Player you can use File > Open Image Sequence; open the first one 1.jpg and it loads all 100 into a quirky little flip- book-style movie.

My apologies for the complete absence of Applescript in this message.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: MacBook Pro iSight Scripting
      • From: Steve Hayman <email@hidden>
    • Re: MacBook Pro iSight Scripting
      • From: Emmanuel <email@hidden>
References: 
 >Best way to monitor iTunes track changes? (From: Marc Palmer <email@hidden>)
 >MacBook Pro iSight Scripting (From: Rob Stott <email@hidden>)

  • Prev by Date: [ANN] MacDeveloper is now online
  • Next by Date: Re: Swap keyboard from "belgium" layout to US
  • Previous by thread: Re: MacBook Pro iSight Scripting
  • Next by thread: Re: MacBook Pro iSight Scripting
  • Index(es):
    • Date
    • Thread