如何以编程方式禁用监视器。从显示设置对话框中,我可以将显示器设置为另一台显示器的副本、普通桌面的扩展或“断开连接”。
这可以使用 powershell 或某些脚本语言(如 autoit)来完成,如果需要,我对使用 C# 感到满意吗?我需要能够运行程序并使第三台显示器断开连接或将其启用为桌面的扩展。
windows powershell multiple-monitors windows-10
multiple-monitors ×1
powershell ×1
windows ×1
windows-10 ×1