> On 15 /06 /2021, at 10:18, Jörg Knebel via 4D_Tech <[email protected]> 
> wrote:
> 
> Is there a (simple) way to get “True or False” to the question “Camera 
> connected” for Mac and Windows?
> 
> Terminal and Command Prompt approach are just fine.

For Windows the solution is:

wmic path CIM_LogicalDevice where Caption="USB2.0 PC CAMERA" get status

This returns an  “Available” if a camera is present.

Someone with the Mac solution out there?

Thanks
**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to