Page 1 of 1 1
Topic Options
#165095 - 2006-07-27 12:42 AM Video resolution change
Mike_Malsed Offline
Fresh Scripter

Registered: 2006-06-19
Posts: 6
Hi,

I run several labs and we've been seeing students rotate the monitors - which I believe is a good thing, actually. I do it myself since it makes editing documents much easier as you can then see the entire page at the same time.

However, it leaves the monitor that way and many (most) students don't know how to put it back and don't necessarily like it that way.

So - what I'm trying to do is to set a portion of my Kix script to put the monitors back to 0 deg rotation.

Only problem for me is that I cannot, for the life of me, find what value to set back to what. . . I tried to use RegMon (from sysinternals) but no joy there. Had NO idea that the registry was accessed that many times in ONE SECOND. . . LOL

I'm using Dell GX620s with 17" LCD monitors. The Intel drivers have a graphics utility that is what rotates the screen.

I'd really like to get a little module to set the resolution back to default every time the workstation is logged off or on, and to have a couple of icons on the desktop that would rotate the screen.

Any ideas? I'm all out. . .

Thanks

Top
#165096 - 2006-07-27 10:51 AM Re: Video resolution change
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
quote from the microsoft hey, scripting guy! archive:

Quote:

We know you didn’t ask about changing screen resolution using a script, but we felt we’d better mention that lest we get millions of emails asking that very question. (We’ll probably still get millions of emails asking that very question, but at least we tried.) For better or worse (and yes, we agree that this qualifies as “for worse”) there’s no built-in way to change the screen resolution using a script. Sorry.




Complete article

Top
#165097 - 2006-07-27 03:29 PM Re: Video resolution change
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
setres.exe will change the res
Orientation... I dunno.

Top
#165098 - 2006-07-27 03:48 PM Re: Video resolution change
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
Perhaps something with autoIT can resolve this for you?
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!

Top
#165099 - 2006-07-28 07:44 PM Re: Video resolution change
Mike_Malsed Offline
Fresh Scripter

Registered: 2006-06-19
Posts: 6
setres works great to change the res, but the driver doesn't recognize 1024,1280 as a valid res. . .

Looking into AutoIT now. . .

Thanks guys.

Top
#165100 - 2006-07-28 07:48 PM Re: Video resolution change
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Code:
the driver doesn't recognize 1024,1280 as a valid res. . .



Well perhaps that's because it's not. Maybe just a typo on your part but it should be: 1280x1024

Top
#165101 - 2006-07-29 05:41 PM Re: Video resolution change
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
One would think it truly is 1024x1280 but in fact it is still 1280x1024.

I think the manufactures of these kinds of monitors and/or video cards put some funky stuff into the drivers so it displays the picture 90 degrees rotated but still uses 1280x1024. Imho this is a hard thing to do because it is build into the video card or display drivers and is not a default part of Windows.

I might be possible to change the orientation of the picture by using some kind of script but my guess is that you'll have to contact the manufacturer to see if you use the drivers from inside a script and tell them to change the orientation of the picture.


Edited by Mart (2006-07-29 05:44 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.085 seconds in which 0.059 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org