Hello All,
I have a fairly simple script that runs a restore process on a daily basis.
The script works fine on all the button clicks throughout the process.
The problem arises on the final step when a messagebox asks for a OK or Cancel response.
The messagebox does not go away when Cancel is clicked.
Here is the script.
Run ("D:\.........")
WinWaitActive ("Database Restore", "", "3")
ControlFocus ("Database Restore", "Next", "Next")
ControlClick ("Database Restore", "Next", "Next")
WinWaitActive ("Database Restore", "Next", "Next")
ControlFocus ("Database Restore", "Next", "Next")
ControlClick ("Database Restore", "Next", "Next")
WinWaitActive ("Database Restore", "Start Restore", "Start Restore")
ControlFocus ("Database Restore", "Start Restore", "Start Restore")
ControlClick ("Database Restore", "Start Restore", "Start Restore")
WinWaitActive ("Database Restore", "Done", "Done")
ControlFocus ("Database Restore", "Done", "Done")
ControlClick ("Database Restore", "Done", "Done")
WinWaitActive ("Database Restore", "Cancel", "Cancel")
ControlFocus ("Database Restore", "Cancel", "Cancel")
ControlClick ("Database Restore", "Cancel", "Cancel")
;Finished
The OK or Cancel messagebox stays on the screen.
Thanks in advance for any help.
ksedran