• 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: KOENIG Yvan <email@hidden>
  • Date: Tue, 27 Sep 2011 20:56:01 +0200

On my iMac, I got the string : FaceTime HD Camera (Built-in):

so

set hardwareData to (do shell script "system_profiler SPUSBDataType")
if hardwareData contains "Camera (Built-in)" or hardwareData contains "Built-in iSight" then display dialog "Camera available !"

will do the trick.

Yvan KOENIG (VALLAURIS, France) mardi 27 septembre 2011 20:55:55

 _______________________________________________
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

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: Stan Cleveland <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