These methods have a speed control option that allows you to use the Speed Control Slider in order to control the amount of delay that the script waits when these methods are used.
This feature is designed to make it easier to refine your script and achieve the optimal script playback speed.
To take advantage of this feature, you must use the proper parameter value setting in order for the BlueZone Script Host to
know that you want to use the script speed control to control the script delay.
In the EMWaitReady method, there is a parameter called ExtraWaitVal. This parameter is used to set a specific number of screen writes, or a specific delay value for the script to wait. To use
the script speed control, use a -1 for the ExtraWaitVal value.
For example:
EMWriteScreen "list", 19, 7
EMSendKey "@E"
EMWaitReady -1 'uses the Speed Control to determine script delay
EMWriteScreen "x", 4, 16
Note
The script speed control for
EMWaitCursor works in a similar fashion.
To access and change the speed control:
|
1. |
Click from the menu bar. The Script Host Properties dialog opens.
|
|
3. |
Drag the Speed Control Slider from left to right as needed. |
|
4. |
Click OK to set the speed and exit the dialog. |