Sergio Fonseca

Sergio Fonseca

  • NA
  • 100
  • 0

Make SendKeys.SendWait write slower.

Feb 29 2008 8:21 AM
foreach (Char c in "name")
{
System.Threading.Thread.Sleep(100);
SendKeys.SendWait(c.ToString());
}

In this sample it will write "name" and it will take 400 miliseconds to do so. The sleep time is the delay until write the next character. You must have a thread running.