Repeat Count Not Working
Repeat Count Not Working
when i test the Repeat count it all repeats but when i compile my project and open it external it only does my recording 1 time how do i make it so it goes more than 1 time or for this occasion forever?
I dont know if you people get this.. when i open the program it only does the recording one time and then stops but i want it to do it more than1 time i want it to repeat itself forever or an specified amount of time.
what code should i modify? where?
i also have visual basic net is it possible to do that from there and how?
what code should i modify? where?
i also have visual basic net is it possible to do that from there and how?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
You can use "loops" in VBNet and other programming languages.
maybe a helpful link:
http://www.startvbdotnet.com/language/loops.aspx
e.g.
...
...
maybe a helpful link:
http://www.startvbdotnet.com/language/loops.aspx
e.g.
...
Code: Select all
Dim d As Integer
For d = 0 To 5
element = controlElement.FindChild(Role.PushButton, "Start", null, new Point(0, 0));
Mouse.ClickElement(element, MouseButtonType.LeftButton, new Point(48, 18), 1, (int)(timeScale*1562));
Next d
End Sub