Determining Laptop Screen Aspect Ratio
- From: "Doug Walch" <walch_do@xxxxxxxxxx>
- Date: Fri, 18 Nov 2005 15:35:31 -0800
At logon, we have a script that downloads a splash screen, which changes
quarterly. The default resolution is 800x600. Recently, we purchased a
number of new laptops which have a different aspect ratio and the default
resolution is 1280x786. Consequently the existing splash screen, a bitmap,
looks "squashed" on the new laptops.
So then, it appears to me that I need to maintain two seperate splash
screens, one cropped for each aspect ratio. This, by itself is no big deal,
but I'm wondering if there are any cleaver, relatively straight forward ways
to determine for any specific machine what the aspect ratio is. Once I know
this, I could then download the approprite splash screen. I looked into
evaluating HKLM\CurrentControlSet\Hardware
Profile\...\%videocard%\0000[DefaultSettings.XResolution] where %videocard%
is a GUID. But the whole GUID evaluation seems to be tedious, especially
for a logon script.
Basically, I'm stumped and open to any ideas.
Thanks in advance
.
- Follow-Ups:
- Re: Determining Laptop Screen Aspect Ratio
- From: Michael Harris \(MVP\)
- Re: Determining Laptop Screen Aspect Ratio
- Prev by Date: Re: Get an environment vairable
- Next by Date: Re: Determining Laptop Screen Aspect Ratio
- Previous by thread: Get an environment vairable
- Next by thread: Re: Determining Laptop Screen Aspect Ratio
- Index(es):
Relevant Pages
|