本文介绍了Windows批处理文件来更改显示器设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有被钩至3不同的显示器,其中仅有的两个可以在任何一个时间处于活动状态的台式计算机。一个是主监视器和始终有效。我可以在另外两个之间手动切换:一个显示器,一个又HDTV

I have a desktop computer that is hooked up to 3 different monitors of which only two can be active at any one time. One is a primary monitor and is always active. I can manually switch between the other two: one a monitor, another an HDTV.

开关是一个机械开关,它仅处理VGA(并在该只有RGB分量实际上切换),所以有从其他设备的计算机没有反馈,从而窗口可以不作任何自动调整改变分辨率之类的东西。

The switch is a mechanical switch which only handles VGA (and at that, only the RGB components are actually switched) so there is no feedback to the computer from the other devices, thus windows can not make any automatic adjustments to change resolutions and things like that.

我想打一个批处理文件,它会自动切换屏幕配置和分辨率(硬编码过程的正确决议,因为我们无法检测到其他设备反正),使它们的显示是正确的。

I want to make a batch file that will automatically switch the screen configurations and resolutions (hard coding the proper resolutions of course since we can't detect the other devices anyways) so that they are correct for the displays.

哪里是最好的地方开始?我在哪里可以找到命令(或不管他们的称呼)的图书馆做这样的事情?最后,有什么我应该小心尝试这样的事情是什么时候?

Where is the best place to get started? Where can I find library of commands (or whatever they are called) to do something like this? Lastly, is there anything I should be careful about when attempting something like this?

由于提前,

-Faken

推荐答案

尝试reschangecon(是的,有一个控制台版本!)。
它是安全的,因为它不会让你设置不支持的(不强制标记)的设置。

Try reschangecon (yes, there is a console version!).It is safe, because it won't let you set settings that are not supported (without the force flag).

(这是免费供个人使用)

http://www.12noon.com/displaychanger.htm (It is free for personal use)

这篇关于Windows批处理文件来更改显示器设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 04:27