2

I'm looking to essentially write code similar to what I can do with AutoHotKey, only in .NET and C#, because it's a much more robust environment. I didn't know if there was a wrapper library available for these sorts of hooks or not.

Does anyone know of a library that does this for .NET?

Ben Lesh
  • 107,825
  • 47
  • 247
  • 232

2 Answers2

1

This actually looks pretty promising, I haven't tested it yet, but it's at least a good starting point. Not too bad considering it's on CodeProject. lol.

Ben Lesh
  • 107,825
  • 47
  • 247
  • 232
0

For sending keys you can use System.Windows.Forms.SendKeys.

For mouse and other input you have to wrap the SendMessage API.

Mikael Svenson
  • 39,181
  • 7
  • 73
  • 79