We have implemented the time-out feature for progress. It gives us the series of error codes as expected. I have a script in AutoIT that closes all the "error" windows, but I would like to close the 'space-bar' window and restart Vantage too.
Below is my script. No laughing please, this is my first attempt. Can someone please tell me what I am doing wrong?
Thanks.
;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author:
;
; Script Function:
; Close error window.
;
$i = 0
While $i <= 10
;Wait for the "error" to become active - it is titled "Error" on English systems
WinWait("Error")
WinActivate ("Error")
;When window is active, click the OK button
ControlClick ( "Error", "", "Button1")
$i = $i + 1
WEnd
;Once the error codes are taken care of, a space bar must be passed to close the progress window
Send("{Space}")
Run("Vantage.MFG", "V:\EPICOR\mfgsys60\", @SW_MAXIMIZE)
; Finished!
Eric L. Tyira
Tamglass Tempering Systems
P: (856) 786-1200
F: (856) 786-7606
eric.tyira@...
[Non-text portions of this message have been removed]
Below is my script. No laughing please, this is my first attempt. Can someone please tell me what I am doing wrong?
Thanks.
;
; AutoIt Version: 3.0
; Language: English
; Platform: Win9x/NT
; Author:
;
; Script Function:
; Close error window.
;
$i = 0
While $i <= 10
;Wait for the "error" to become active - it is titled "Error" on English systems
WinWait("Error")
WinActivate ("Error")
;When window is active, click the OK button
ControlClick ( "Error", "", "Button1")
$i = $i + 1
WEnd
;Once the error codes are taken care of, a space bar must be passed to close the progress window
Send("{Space}")
Run("Vantage.MFG", "V:\EPICOR\mfgsys60\", @SW_MAXIMIZE)
; Finished!
Eric L. Tyira
Tamglass Tempering Systems
P: (856) 786-1200
F: (856) 786-7606
eric.tyira@...
[Non-text portions of this message have been removed]