AutoIt is available (free) here.Īfterthought - because AutoIt can be run as an ActiveX control, it can be created and manipulated from within VB so there should be a way to do everything internally with no external scripting required. The AutoIt process itself could be triggered from inside the VB app to start the ball rolling. If you add another state ('ERROR') then AutoIt could also detect that and stop/pause for user action. AutoIt could 'click' the button, then wait until the value of the label changes to 'COMPLETED' before going on to click the next button. As an example, let's say you have a label which has the value of 'WORKING' or 'COMPLETED'. If you have a control (label, etc) that provides feedback as to when an action completes (after, say, clicking on a button) then AutoIt can read the value of that control. You can write scripts using AutoIt's native scripting language, or you can write them in vbScript (which is what I do). I have used this free (and very well supported) package to automate many tasks. There is probably a solution that can be used from inside VB, but if one is not forthcoming I can suggest AutoIt.