5月162021
BlockInput函数扩展【阻止来自鼠标和键盘的所有输入,而不会显示UAC警告】
#include "BlockInputEX.au3"
Opt("MustDeclareVars", 1)
_BlockInput($BI_DISABLE) ; block input
ConsoleWrite("Block all inputs" & @LF)
_BlockInput($BI_DISABLE) ; useless since already disable
Sleep(10000)
_BlockInput($BI_ENABLE) ; enable input
ConsoleWrite("Enable all inputs" & @LF)
_BlockInput($BI_ENABLE) ; useless set since already enable
Sleep(5000)
_BlockInput($BI_DISABLE, $BI_MOUSE) ; block input mouse only
ConsoleWrite("Block mouse only" & @LF)
Sleep(10000)
_BlockInput($BI_DISABLE, $BI_KEYBOARD); block input keyboard also
ConsoleWrite("Block keyboard" & @LF)
Sleep(10000)
_BlockInput($BI_ENABLE, Default) ; enable all input
ConsoleWrite("Reenable all inputs" & @LF)
扫描二维码,在手机上阅读
发表评论
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!