#34708 - 2003-01-02 04:50 PM
Re: Laptop vs PC
|
Diane
Fresh Scripter
Registered: 2002-12-31
Posts: 22
|
A laptop is usually smaller in size than a desktop, and has the monitor built in.
Please excuse my lame attempt at humour, i'm still celebrating the new year.
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy
|
Top
|
|
|
|
#34709 - 2003-01-02 04:52 PM
Re: Laptop vs PC
|
Diane
Fresh Scripter
Registered: 2002-12-31
Posts: 22
|
Seriously though I believe you should check for a reference to PCMCIA in the registry (you'll have to search for the key yourself as I don't own a laptop). If this key exists then its a laptop, if not its a desktop.
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy
|
Top
|
|
|
|
#34712 - 2003-01-02 05:10 PM
Re: Laptop vs PC
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
|
Top
|
|
|
|
#34713 - 2003-01-02 06:04 PM
Re: Laptop vs PC
|
ShaneEP
MM club member
Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
|
Maybe I wanted to discuss it again. If you don't want to be included then don't reply.
How does this look?
code:
$BATTERY = KeyExist("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Compbatt") If $BATTERY $laptop = "Yes" Else $laptop = "No" Endif
|
Top
|
|
|
|
#34715 - 2003-01-02 06:41 PM
Re: Laptop vs PC
|
Diane
Fresh Scripter
Registered: 2002-12-31
Posts: 22
|
Looks good, and i'd like to know what desktop would have a PCMCIA in it
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy
|
Top
|
|
|
|
#34718 - 2003-01-02 07:09 PM
Re: Laptop vs PC
|
GRF
Fresh Scripter
Registered: 2002-02-15
Posts: 45
Loc: Ohio
|
Try HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString. All the laptops I've checked have "Mobile CPU" in the Value Data.
_________________________
GF
|
Top
|
|
|
|
#34722 - 2003-01-02 07:48 PM
Re: Laptop vs PC
|
GRF
Fresh Scripter
Registered: 2002-02-15
Posts: 45
Loc: Ohio
|
There was no ACPI key on my IBM Thinkpad w/ Win98.
_________________________
GF
|
Top
|
|
|
|
#34724 - 2003-01-02 08:19 PM
Re: Laptop vs PC
|
Diane
Fresh Scripter
Registered: 2002-12-31
Posts: 22
|
Side-topic, Sealeapard quote: We have some, too. They are also not necessarily desktops, as they are more or less all-in-one computers/LCD screens with no keyboard/mouse attached eihter.
Those sound interested, what brand are they?
_________________________
----------------------------
Diane
Confucious say: Woman who keep washing liquid on top shelf, jump for joy
|
Top
|
|
|
|
#34726 - 2003-01-02 09:21 PM
Re: Laptop vs PC
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
Diane: WE got those computers from Advantech at http://www.advantech.com
They are medical-grade computers with a 12'' LCD screen, 4 serial ports, 2 PCMCIA, 1 1/2-lenght PCI, 256MB RAM, 850MHz P-III, 40GB HD. However, they have a couple of different models.
We are using those as a client computer for a custom data acquisition system that sits on a laptop. The PanelPC collects the data and displays information to subjects while the laptop is used by an operator to control the experiment.
We even use some KiXtart scripts for remote administration of the PanelPCs as they won't have input devices connected to themselves.
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 382 anonymous users online.
|
|
|