Re: Telling if a Mac is equipped with a built-in iSight
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