* =?Utf-8?B?emFr?= <za*@discussion s.microsoft.com > scripsit:
I have some testing to do and I need to put a whole set of data in I want to
Record and replay in a loop keystrokes.
You'll need a keyboard hook to capture these keystrokes system-wide:
Article on keyboard hooks:
<URL:http://www.developer.c om/net/net/article.php/11087_2193301_1/>
Documentation on hooks:
<URL:http://msdn.microsoft. com/library/en-us/dnwui/html/msdn_hooks32.as p>
<URL:http://msdn.microsoft. com/library/en-us/winui/winui/windowsuserinte rface/windowing/hooks.asp>
Then you can use p/invoke on 'keybd_event' to send the keystrokes.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>