Sergio Fonseca

Sergio Fonseca

  • NA
  • 100
  • 0

Foreach help needed

Mar 6 2008 7:04 PM

I'm using the following code to write slower.

foreach (Char c in "name")
{
Delay(
Settings.Default.TrackValue4);
SendKeys.SendWait(c.ToString());
}

But sometimes it writes "naame" I've though on using an last key checker to stop that bug but it won't work for words like "pizza" because it will think the z was already tried and will write "piza". Thank you. I can't make it write in normal speed because with some peoples if it write in normal speed it lags their computers (They are using Celeron with 1GHz).


Answers (2)