如何永久关闭显示器? [英] How to turn off monitor permanently ?

查看:145
本文介绍了如何永久关闭显示器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要从办公室访问家用电脑,我想通过远距离代码永久关闭显示器。所以我使用以下地址关闭显示器:

打开/关闭监视器 [ ^ ]



但显示器会重新启动PC的任何活动,例如移动鼠标或按键。

我不想让它转过来回来!!!

我该怎么做?



任何帮助请????



(BTW, Teamviewer 有一项功能可以永久关闭显示器。所以我相信它是可能的写一个这样的代码。)



我尝试过:



我在这个地址尝试了代码:

打开/关闭显示器 [ ^ ]

Hi guys,
I need to have access my home PC from office and I would like to turn off its monitor permanently via code from distance. So I used below address to turn off monitor:
Turn on/off monitor[^]

But monitor turns back on with any activity of PC like moving mouse or hitting a key.
I don't want it turns back on!!!
How can I do that?

Any help please????

(BTW, Teamviewer has a feature that can turn off monitor permanently. So I believe that it is possible to write a code like that.)

What I have tried:

I tried the code in this address:
Turn on/off monitor[^]

推荐答案

大多数监视器不支持通过此命令完全关闭。这样做通常只是让显示器进入睡眠状态,而不是将其关闭。没有办法绕过这种行为,没有我知道的文档可以告诉你哪些显示器支持这个,哪些不支持。
Most monitors don't support being turned off completely by this command. Doing so normally just puts the monitor to sleep, not power it off. There is no way for you to get around this behavior and no documentation that I know of to tell you which monitors support this and which don't.


为什么不将你的显示器永久关闭只需禁用鼠标和键盘,然后将显示器置于睡眠状态,然后如果键盘或鼠标移动,屏幕将无法启动,但不要忘记在您的应用程序中包含一项功能,以启用那些我们的朋友,我的朋友会有一个严重的问题。

祝你好运
Why instead of turning your monitor permanently off just disable the mouse and keyboard then put the monitor at sleep then if the keyboard or mouse move the screen won't power on but don't forget to include in your app a function to enable those our you my friend will have a serious problem.
Good luck


引用:

Teamviewer有一个功能可以永久关闭显示器。所以我相信有可能编写这样的代码。

Teamviewer has a feature that can turn off monitor permanently. So I believe that it is possible to write a code like that.



他们不关闭显示器,他们隐藏显示器并劫持与显示器相关的钩子。不一样。



他们拥有自己的屏幕保护程序,与通常的屏幕保护程序相反,它会占用显示器唤醒事件。原因老显示器无法关闭。

确保他们劫持了所有必要的系统挂钩。

这种东西远远超出了程序员的正常知识,这是一项专业工作这意味着对Windows内部的深入了解。



您的第一步是从头开始编写自己的屏幕保护程序(没有库可以隐藏所有困难)。


No they do not turn off the monitor, they hide the display and hijack the hooks related to display. Not the same thing.

They have their own screen saver which eat the monitor wakeup events contrary to usual screen savers. Reason old monitors can not be turned off.
Be sure they hijack all necessary system hooks.
This kind of stuff is far beyond normal programmer knowledge, it is a specialist job which means deep knowledge about Windows internals.

your first step would be to write your own screen saver from scratch (without library that hide all difficulties).


这篇关于如何永久关闭显示器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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