Delay Code? Make Account Bot Look Human
Someone help and old noob out :) im making an account creator and for numerous reasons i want the program to fill in the form slowly, so it looks more human and also for other reasons, so for example if I have code like this
Code:
WebBrowser1.Document.GetElementById("iFirstName").Focus()
WebBrowser1.Document.GetElementById("iFirstName").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("iLastName").Focus()
WebBrowser1.Document.GetElementById("iLastName").SetAttribute("value", TextBox2.Text)
WebBrowser1.Document.GetElementById("iBirthDay").Focus()
WebBrowser1.Document.GetElementById("iBirthDay").SetAttribute("value", ComboBox2.Text)
WebBrowser1.Document.GetElementById("iBirthMonth").Focus()
WebBrowser1.Document.GetElementById("iBirthMonth").SetAttribute("value", ComboBox1.Text)
WebBrowser1.Document.GetElementById("iBirthYear").Focus()
WebBrowser1.Document.GetElementById("iBirthYear").SetAttribute("value", ComboBox3.Text)
It fills in everything instantly, I want a way so it maybe waits a second before filling in the next box. I have tryed the sleep function that works but freezes up the program just looks really bad. Also tryed a delay function using a module, it was a tut i found but that didn't seem to work either. Ow and btw reason im using .Focus() is because im using a small browser so it will move into view. Anyways any help would be greatly appreciated as this is something i have wanted to learn for along time.
Thanks