doggy4s wrote:
Hi
To trigger (remotely) a videocap software ( with ahk script) I am in need of being able to get the status of a videocamera ...
If anyone is familiar with this I surely would appreciate a little example to go from . (be it C++, or vbs or.. ) I just want to get some sort of functional status indication.
Thanks
Hmmm, if the cam is a USB camera, and the sort of functional status indication that you require is something simple like, "Is this USB cam Connected, or not?" then, you might try something like Usbdview
http://www.autohotkey.com/forum/topic15127.html ... I like Usbdview because it can tell you if that cam is connected or not, and it has nice & easy to parse output options (CSV, XML), For example:
Code:
<item>
<device_name>WebCam Instant</device_name>
<description>Creative WebCam Instant #5</description>
<device_type>Vendor Specific</device_type>
<connected>Yes</connected>
<safe_to_unplug>Yes</safe_to_unplug>
<disabled>No</disabled>
<drive_letter></drive_letter>
<serial_number></serial_number>
<created_date>7/4/2008 2:05:24 PM</created_date>
<last_plug_unplug_date>9/22/2008 5:21:46
PM</last_plug_unplug_date>
<vendorid>041e</vendorid>
<productid>4034</productid>
<usb_class>ff</usb_class>
<usb_subclass>ff</usb_subclass>
<usb_protocol>ff</usb_protocol>
<hub___port>Hub 2, Port 2</hub___port>
<computer_name></computer_name>
</item>