开发者

Record Keyboard Macros in C#

开发者 https://www.devze.com 2022-12-13 06:37 出处:网络
How do I set my application to record keyboard macros. Like Shift-Alt-I would open Internet Explo开发者_C百科rer. I know that this feature is avaliable in Windows, but I don\'t think it\'s very good.

How do I set my application to record keyboard macros. Like Shift-Alt-I would open Internet Explo开发者_C百科rer. I know that this feature is avaliable in Windows, but I don't think it's very good. I have a textbox control and a button that says "Record keyboard Macro".


I would suggest using KeyDown & KeyUp events and capturing the keys pressed.

Have a look at this article on Key Processing Techniques: http://ondotnet.com/pub/a/dotnet/2002/04/29/keys.html

0

精彩评论

暂无评论...
验证码 换一张
取 消