Forum Discussion
alevans4
13 years agoContributor
Do while true
set frmImport = myProcess.WaitVBObject("configcrForm", 15000)
<--- this is the form that is displayed with the disabled button.
set btnOK = frmConfirm.WaitVBObject("OKCommand", 2000)
If btnOK.Enabled Then
btnOK.Click
Exit Do
Else
Delay 2000
End if
Loop
Is "myProcess" set to the appropriate process at that point in the script? Whenever I have an issue finding something, I always double check to make sure everything in the chain was found.
Related Content
Recent Discussions
- 2 days agoMW_Didata