|
yaoguof
初级用户
 
积分 90
发帖 35
注册 2006-10-23
状态 离线
|
『楼 主』:
请教:怎么样可以使用批处理屏蔽键盘和鼠标!
使用 LLM 解释/回答一下
想用一个批处理来屏蔽键盘和鼠标的输入!
在批处理运行时,屏蔽任何按键和鼠标的操作?
请问该如何实现呢?
I want to use a batch script to block keyboard and mouse input!
When the batch script is running, block any key presses and mouse operations?
How should this be achieved?
|
|
2006-12-6 00:34 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
是执行什么样的操作不想让用户使用鼠标和键盘?
(下载广告插件 或 执行具有病毒属性的“工具”?)
(格式化用户的硬盘?)
(删重要的数据?)
(还是?)
What kind of operation is it that doesn't want users to use the mouse and keyboard?
(Downloading ad plugins or executing "tools" with virus properties?)
(Formatting the user's hard drive?)
(Deleting important data?)
(Or something else?)
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-12-6 00:41 |
|
|
yaoguof
初级用户
 
积分 90
发帖 35
注册 2006-10-23
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
相当于一个提醒的工具,在几秒后自动关闭用户就可以进行操作了
It is equivalent to a reminder tool that automatically closes after a few seconds so that the user can perform operations.
|
|
2006-12-6 01:00 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
不懂楼主要实现什么目的。
I don't understand what purpose the owner wants to achieve.
|
|
2006-12-6 01:11 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
把鼠标和键盘的驱动卸载了就OK了。
Just uninstall the mouse and keyboard drivers, and it'll be fine.
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-12-6 05:25 |
|
|
a9319751
中级用户
  
积分 439
发帖 170
注册 2006-1-9
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
一般是网吧机器需要做必要的更新的时间,不想让顾客乱动,所以想锁屏
Generally, it is the time when necessary updates are needed for Internet café machines. I don't want customers to mess around, so I want to lock the screen.
|

bat c c++ |
|
2006-12-6 05:28 |
|
|
voiL
中级用户
  
积分 384
发帖 189
注册 2005-10-19
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by a9319751 at 2006-12-6 05:28:
一般是网吧机器需要做必要的更新的时间,不想让顾客乱动,所以想锁屏
以前也做过网吧,深知网管的痛苦.
Originally posted by a9319751 at 2006-12-6 05:28:
Generally, it is the time when necessary updates for Internet cafe machines need to be done. I don't want customers to move around randomly, so I want to lock the screen.
I have also worked in an Internet cafe before and deeply understand the pain of network administrators.
|
|
2006-12-6 06:12 |
|
|
seyeskcn
新手上路

积分 12
发帖 6
注册 2006-12-4 来自 河南洛阳
状态 离线
|
|
2006-12-6 10:17 |
|
|
yaoguof
初级用户
 
积分 90
发帖 35
注册 2006-10-23
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
基本上是这个意思,但是5楼这个方面是不是有点那个了
Basically, it means this, but is the aspect of the 5th floor a bit that?
|
|
2006-12-6 23:52 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
非调用api方式以屏保程序来达到间接锁定鼠标和键盘,并设置n分钟后允许解除锁定……
) 启动一个带密码的屏保
屏幕保护程序扩展名为 .SCR ,其实就是可执行的EXE文件。
简单编程,VB就行。
屏保运行时必须输入密码才可以退出屏保。然后用VB做个定时器,过几分钟如果不输入密码,就也自动退出。
至于这个几分钟如何控制,可以VB做的屏保程序带一个启动参数就行,在启动参数里加入分钟数量。
) 如何启动屏保,并且让屏保“正确”运行?
看有关屏保还有没有相关的注册表项需要设置,如果没有更好,直接 .SCR(EXE)文件控制就行了。
或使用.BAT批处理程序直接调用.SCR这个可执行文件同样可以,然后加设定几分钟锁定的参数,这样系统立即进入屏保运作的锁定方式。
) 而且,自已开发的带有屏保功能的这个特殊程序,还可以当屏保被启动时向服务器发送某些消息,
或是连接服务器取回要执行的指令,这样又可以做为远程控置之用。
(以上想法纯属瞎说,未经证实,权当玩笑~:)
Last edited by redtek on 2006-12-6 at 12:45 PM ]
Indirectly lock the mouse and keyboard through a screen saver program without calling the API, and set it to allow unlocking after n minutes...
) Start a password-protected screen saver
The screen saver has an extension of.SCR, which is actually an executable EXE file.
Simple programming, VB is fine.
The screen saver must require entering a password to exit. Then use VB to make a timer. After a few minutes, if the password is not entered, it will automatically exit.
As for how to control this few minutes, the VB-made screen saver program can have a startup parameter. Add the number of minutes in the startup parameter.
) How to start the screen saver and make the screen saver run "correctly"?
See if there are any relevant registry entries related to the screen saver. If not, it's better. Just control it with the.SCR (EXE) file.
Or use a.BAT batch program to directly call the.SCR executable file, and add the parameter to set the number of minutes to lock. In this way, the system immediately enters the locking mode of screen saver operation.
) Moreover, this special program with screen saver function developed by oneself can also send some messages to the server when the screen saver is started,
or connect to the server to retrieve the instructions to be executed. In this way, it can also be used for remote control.
(The above ideas are purely nonsense, not verified, just for fun~:)
Last edited by redtek on 2006-12-6 at 12:45 PM ]
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-12-7 01:42 |
|