Sign in with
Sign up | Sign in
Your question

Need VBScript to change screen resolution

Last response: in Windows XP
Share
Anonymous
February 7, 2005 5:56:44 PM

Archived from groups: microsoft.public.windowsxp.video (More info?)

I share a system with my father. When he logs in, he changes display
resolution to 800x600. When I'm logged in, I use 1024x768. I would like to
automate this with a VBScript, but I cannot find docs on the automation
interface for the video.

Can someone point me to the docs?

Thanks
Michael Giroux
Anonymous
February 9, 2005 12:25:49 PM

Archived from groups: microsoft.public.windowsxp.video (More info?)

The other post has probably the simpliest solution. Otherwise, it would
involve using WMI and Put statements, but I do not know if it can be done
that way. There is a standard API set for changing the resolutions on the
fly, but they are not exposed to the scripting host that I know of. You may
be able to find more at Clarence Washington's Win32Scripting site (link
found via Google/Dogpile)

"Michael Giroux" <mlgiroux@hotmail.com> wrote in message
news:uxJcr$VDFHA.2756@TK2MSFTNGP15.phx.gbl...
> I share a system with my father. When he logs in, he changes display
> resolution to 800x600. When I'm logged in, I use 1024x768. I would like
to
> automate this with a VBScript, but I cannot find docs on the automation
> interface for the video.
>
> Can someone point me to the docs?
>
> Thanks
> Michael Giroux
>
>
February 9, 2005 4:20:35 PM

Archived from groups: microsoft.public.windowsxp.video (More info?)

Get Multires from:
http://www.entechtaiwan.com/util/multires.shtm

and make a batch file 800x600.bat with the command
multires.exe /1:800,600,32,75

Drop a shortcut to this batch file or the file itself in your fathers
Startup folder such as:
C:\Documents and Settings\father\Start Menu\Programs\Startup

Do the same for yourself with desired resolution parameters.

Enjoy

--
Rehan
www.rehanfx.org - get more effects and transitions for Windows Movie Maker





"Michael Giroux" <mlgiroux@hotmail.com> wrote in message
news:uxJcr$VDFHA.2756@TK2MSFTNGP15.phx.gbl...
>I share a system with my father. When he logs in, he changes display
>resolution to 800x600. When I'm logged in, I use 1024x768. I would like
>to automate this with a VBScript, but I cannot find docs on the automation
>interface for the video.
>
> Can someone point me to the docs?
>
> Thanks
> Michael Giroux
>
Related resources
!