使用VB.NET在屏幕上记录和重放鼠标单击事件 [英] Record and replay mouse click events on screen using VB.NET
本文介绍了使用VB.NET在屏幕上记录和重放鼠标单击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个类似于'Internet Macros'的应用程序,它会记录所有鼠标移动,点击事件和键盘事件并保存它们到一个文件。稍后,每当我选择文件时,它都会重播所有录制的活动。
任何人都可以帮我这个吗?
问候,
Harshala
解决方案
参见这篇文章:在C#中处理全局鼠标和键盘挂钩 [ ^ ]
实用程序以记录鼠标单击和记录键盘输入。它也可以记录测试用例 [ ^ ]
以下链接可以提供帮助:
- < a href =http://www.colinneller.com/blog/GlobalWindowsHooksWithNET.aspx> http://www.colinneller.com/blog/GlobalWindowsHooksWithNET.aspx [ ^ ]
- http://msdn.microsoft.com/en-us/magazine/cc188966.aspx [ ^ ]
- http://support.microsoft.com/kb/318804 [ ^ ]
- http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx [ ^ ]
- http://blogs.msdn.com/toub/archive/2006/05/03/589468.aspx [ ^ ]
Hi,
I want to create an application similar to 'Internet Macros', which would record all mouse movements, click events, and keyboard events and save them to a file. Later on, whenever I select the file, it will replay all the recorded activities.
Can anyone help me with this?
Regards,
Harshala
解决方案
see this article: Processing Global Mouse and Keyboard Hooks in C#[^]
utility to record mouse click and record keyboard inputs. Also it can record Test Cases[^]
The following links can help:
这篇关于使用VB.NET在屏幕上记录和重放鼠标单击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文