Repeatedly sending orders to the look1 AI from one click

I want to click button1 once and have the app act like I'm pressing it repeatedly, any help?

Add a Checkbox, let's call it ckbRepeat to enable/disable the loop, then add in the GotClassification event the following blocks

If ckbRepeat.Checked
Then Lock1.ClassifyVideoData


This answer not really is helpful ...