Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to change screen resolution

3 views
Skip to first unread message

Jeff Wright

unread,
Dec 26, 2001, 2:44:33 PM12/26/01
to
Any ideas on how to adjust screen resolution with vbscript. I have
looked at
"rundll32.exe desk.cpl" but I can't figure how to address the settings
once I get the desk.cpl dialog.
Jeff Wright

Jeff Wright

unread,
Dec 26, 2001, 2:45:48 PM12/26/01
to

Robin Shen

unread,
Dec 28, 2001, 5:49:31 AM12/28/01
to
Try search http://groups.google.com/advanced_group_search and reference
many former discussions.

Hope it helps.

Regards,
Robin

This posting is provided “AS IS”, with no warranties, and confers no rights.


bp

unread,
Dec 31, 2001, 4:22:27 AM12/31/01
to
Hi,
you might use the multires utility in order to change the
resolution. (it's free)

http://www.entechtaiwan.com/multires.htm

>.
>

Gary Gu

unread,
Jan 3, 2002, 8:24:50 PM1/3/02
to
Neither WSH nor WMI supports this functionality. Instead, we should make
use of the ChangeDisplaySettings API. However, we couldn't invoke any API
from within WSH or WMI. That is, we should encapsulate the invocation into
our own component, and then call the component from WSH or WMI.

Regards,

Michel Gallant

unread,
Jan 3, 2002, 10:08:25 PM1/3/02
to
It would be relatively easy to write a Java class to implement the
ChangeDisplaySettings() win32 api function and then use it via Javamoniker
object:
http://home.istar.ca/~neutron/JDirect/DisplaySettings/
- Mitch

Schorschi Decker

unread,
Jan 4, 2002, 6:47:33 PM1/4/02
to
Other than using SendKeys??

"Jeff Wright" <jeffp...@attbi.com> wrote in message
news:3C2A28A0...@attbi.com...

Torgeir Bakken

unread,
Jan 5, 2002, 12:43:13 PM1/5/02
to
Hi

Windows Script Host has no build in functionality for this. MultiRes may do what
you want. Its a free screen resolutions utility that can be used from the
command line, a batch file, a shortcut or a script :-)

MultiRes has refresh rate and multi- monitor support, as well as optional timed
confirmation prompts. The little utility supports Windows 9x/Me/NT4, as well as
Windows 2000 and XP.

It's available at
http://168.144.101.149/files/multires.exe (Entech Taiwan), and can be used to
set screen resolution, color depth, and refresh rate. Normally it runs with an
icon in the notification area. But it's also possible to run it in non-resident
command mode in a batch file. There's more info at
http://www.entechtaiwan.com/multires.htm

exaple on a command line:

Set 800x600, 32-bit color, 85Hz refresh

d:\multires\multires.exe /800,600,32,85 /exit

--
torgeir

Gary

unread,
Jan 5, 2002, 9:38:33 PM1/5/02
to
You can try either you like.
0 new messages