PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.

Prev | Next | Users Guide | PhantomScript Reference | P1 Systems


Windows

WaitForWindowTestIntervalMs

Syntax

WaitForWindowTestIntervalMs

Description

An instrinsic variable in which the interval between successive WaitForWindow, WaitForWindowClose, and SetWindow tests are performed

Remarks

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 SetWindow

The 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 = 100

The example sets the match interval to 100ms. Match comparisons will be performed 10 times per second.



Prev | Next | Users Guide | PhantomScript Reference | P1 Systems

PhantomScript v1.7 Reference - Copyright © 2006 P1 Systems Incorporated. All Rights Reserved.