在Windows中执行自动转换连接显示器8 [英] Execute automatic change connected displays in Windows 8

查看:136
本文介绍了在Windows中执行自动转换连接显示器8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

短版

我要如何改变自动化多显示器设置? NVIDIA,3个显示器(2个DVI和1个HDMI),GPU只支持2有源监听音箱。

How do I automate changing multiple display settings? NVIDIA, 3x monitors (2x DVI and 1x HDMI), GPU only supports 2 active monitors.

龙版

所以我有一个 NVIDIA的GeForce GTX 560钛可以同时运行两个显示器。它有两个 DVI 通一 HDMI 。我经常使用我的两个桌面显示器交换和连接仅使用桌面显示器一加我的电视 HDMI

So I have a NVIDIA GeForce GTX 560 Ti which can run two displays simultaneously. It has two DVI connections and one HDMI. I often swap from using my two desktop monitors and connect only one of the desktop monitors plus my TV using HDMI.

我想变回自动化和使用批处理脚本或其他程序,而不是使用Windows控制面板转发(控制面板\\所有控制面板项\\显示\\屏幕分辨率)或NVIDIA控制面板。

I would like to automate the change back and forward using a batch script or other program instead of using the windows control panel (Control Panel\All Control Panel Items\Display\Screen Resolution) or the NVIDIA Control Panel.

我发现了一些文件使用 RUNDLL32.EXE NvCpl.dll dtcfg ......等,这并没有在所有的工作。什么也没有发生,因为我来自NVIDIA的PDF文档中使用的任何参数。有没有人有工作的一个例子吗?我已经试过这在Windows 7上为好。

I found some documentation on using "rundll32.exe, NvCpl.dll, dtcfg ...." etc. This did not work at all. Nothing happens for any parameters I use from the NVIDIA PDF documentation. Does anyone have an example that works? I have tried this on Windows 7 as well.

我曾尝试使用 WMI ,查看显示器是否存在,但它只能显示两个活动监视器。它并不显示第三非活动监视器。

I have tried to use WMI to see if the monitor is there, but it only shows the two active monitors. It does not show the third inactive monitor.

我曾尝试 EnumDisplayDevices 的User32.dll ,但这只返回两个活动监视器。

I have tried EnumDisplayDevices from User32.dll, but this only returns the two active monitors.

我怎样才能得到这个工作?

How can I get this working?

我想获得在C#中这方面的工作,这样我就可以不断变化的音频设备,以及使用它:)

I would like to get this working in C#, so I can use it with changing audio device as well :)

推荐答案

虽然这可能无法满足你的要求,我没有在这个问题用我的笔记本电脑时,电源多个监视器上运行,我结束了使用显示简介在功能的UltraMon 。我从来没有脚本它或使用的他们的SDK ,但我知道他们做支持自动化和SDK的访问。

Although this is may not meet your requirements, I did run in to this problem when using my laptop to power several monitors, and I ended up using the Display Profiles feature in UltraMon. I never scripted it or used their SDK, but I do know that they do support automation and SDK access.

请注意:我是决不会与下属的UltraMon,我只是用他们的产品,并发现它满足我的需求。

Note: I am in no way affiliated with UltraMon, I just used their product and found it to meet my needs.

这篇关于在Windows中执行自动转换连接显示器8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆