C# SendKeys.Send Multithread
use the following code to simulate pressing the "TAB" key for 10 times and
then pressing the "ENTER".
for (int i = 0; i < 10; i++)
{
SendKeys.Send("{TAB}");
}
SendKeys.Send("{ENTER}");
I would, however, be able to do the same thing in a process with
multithreads. for example, open 10 instances of my process, and for each
to simulate pressing the "TAB" for 10 times and then pressing the "ENTER".
Unfortunately, the command "SendKeys.Send" uses the computer keyboard, the
command interacts with any open windows.
No comments:
Post a Comment