Automatic acknowledgement of error
Author: richard1000
Creation Date: 2/10/2016 2:06 PM
profile picture

richard1000

#1
I am using Fidelity as streaming data provider and on few occasions, I receive the following pop-up error.

"Unable to connect to the remote server"
"Unable to get Data on Demand for symbol: XYZ"

Then I have to acknowledge the error by pressing the OK button in the pop-up before the script can continue. So how do I automatically acknowledge this error within the script?
profile picture

Eugene

#2
You could try to suppress those error messages by coming up with an AutoIT script. There's a couple examples on our forum (Google search for "site:wealth-lab.com/Forum AutoIT") and thousands (or millions?) on the AutoIT website.
profile picture

Cone

#3
If you can post a screen shot of the dialog, I can probably whip up an AutoIT script that might work for you.
profile picture

richard1000

#4
Cone, sorry for the late reply. But here is the screen shot of error.
profile picture

Eugene

#5
Here's one of the many examples:

PopUpClear - Close popup windows and message boxes

Note that it's configurable.