Syntax
WaitForWindowTestIntervalMsDescription
An instrinsic variable in which the interval between successive WaitForWindow, WaitForWindowClose, and SetWindow tests are performedRemarks
The shorter the interval specified, the quicker the wait statement will respond to the appearance of the desired window, but the more CPU time will be used for the increased testing frequency. The interval is expressed in milliseconds. The default value is 250. This variable affects WaitForWindow, WaitForWindowClose, and SetWindowThe minimum useful value is dependent on CPU speed. At some point, further decreases in the value of WaitForWindowTestIntervalMs will produce no further decrease in the actual test interval. At this point, the accuracy of the wait statement's Timeout parameter is also affected and the actual timeout period becomes longer than that specified.
Example
WaitForWindowTestIntervalMs = 100The example sets the match interval to 100ms. Match comparisons will be performed 10 times per second.