• 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: Telling if a Mac is equipped with a built-in iSight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Telling if a Mac is equipped with a built-in iSight


  • Subject: Re: Telling if a Mac is equipped with a built-in iSight
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 28 Sep 2011 05:14:38 -0500

On Sep 28, 2011, at 04:51, Jim Thorton wrote:
If I run the AppleScript code that Mr. Cleveland gave me on the latest iMac model (where ioreg fails) with OS X Lion, it returns lines including 'iSight' as follows.
______________________________________________________________________

Hey Jim,

I see the output does not mention an iSight Camera, but as Ezekiel said:

Remember that its now called a FaceTime camera.

It does return a record for the: FaceTime HD Camera (Built-in)

What happens when you run ioreg and search for 'FaceTime' on the models that don't respond to iSight?

If indeed it's the name change that's at issue:

set cmd to "ioreg | egrep -i 'iSight|FaceTime'"
do shell script cmd

This is consistently faster on my machine than the system profiler method.

OR

set cmd to "system_profiler SPUSBDataType | sed  -En '/iSight|FaceTime/,/Current Required/p'" & ¬
"| sed -E 's/^[ ]+//'"
set iSightReco to do shell script cmd

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Telling if a Mac is equipped with a built-in iSight
      • From: Jim Thorton <email@hidden>
References: 
 >Telling if a Mac is equipped with a built-in iSight (From: Jim Thorton <email@hidden>)
 >Re: Telling if a Mac is equipped with a built-in iSight (From: Christopher Stone <email@hidden>)
 >Re: Telling if a Mac is equipped with a built-in iSight (From: Jim Thorton <email@hidden>)
 >Re: Telling if a Mac is equipped with a built-in iSight (From: Christopher Stone <email@hidden>)
 >Re: Telling if a Mac is equipped with a built-in iSight (From: Jim Thorton <email@hidden>)

  • Prev by Date: Re: Telling if a Mac is equipped with a built-in iSight
  • Next by Date: Re: Telling if a Mac is equipped with a built-in iSight
  • Previous by thread: Re: Telling if a Mac is equipped with a built-in iSight
  • Next by thread: Re: Telling if a Mac is equipped with a built-in iSight
  • Index(es):
    • Date
    • Thread