Not sure exactly, but perhaps you could distinguish whether the battery is connected via USB or some other transport method? Looking through the device manager there seem to be some fields that might be relevant. As a network admin, I've used a free software called Spiceworks in the past that scans our network and classifies machines. Does a decent job and seems to use the model-database technique.<br>
<br>Other ways might be...does the machine have a PCMCIA slot? does it have built-in wifi/bluetooth? A 5400RPM hard drive? These aren't assurances, but they point to laptops.<br><br>Well I think that's every way possible of not answering your question. Sorry =).<br>
<br>SJ<br><br><br><div class="gmail_quote">On Sat, Mar 6, 2010 at 10:00 AM, <span dir="ltr"><<a href="mailto:python@bdurham.com">python@bdurham.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Roberto.<br>
<br>
> I assume you could categorize a computer as a laptop or desktop once you knew the machine's make an model.<br>
<br>
Unfortunately, we're a start-up company with an entirely random mix of<br>
computers from what seems like every vendor possible. I'm not sure where<br>
I would find a database for some of the machines we have.<br>
<br>
I'm hoping that there's a WMI property that allows me to distinguish<br>
between a laptop battery and an external UPS. (I've been looking, but my<br>
google-fu is failing me).<br>
<br>
Thanks for your help,<br>
<br>
Regards,<br>
Malcolm<br>
_______________________________________________<br>
python-win32 mailing list<br>
<a href="mailto:python-win32@python.org">python-win32@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-win32" target="_blank">http://mail.python.org/mailman/listinfo/python-win32</a><br>
</blockquote></div><br>