Phantom Documentation

[Help Home] [Phantom Home]

void SetDelay(int)

Return Type: void
Parameters: int iDelay

SetDelay allows you to set the pause time between consecutive window commands. This can allow the user to increase or decrease the execution speed of scripts. However, changing the delay time to a very small value (< 100 milliseconds) may cause windows to not respond to commands quick enough. The default value is 200 milliseconds.

This function does not affect commands that are not performed on a window. Those functions (such as the General Functions, math operations, and flow control) have no built in delay to maximize script execution speed.

For a delay at a single point in the script, see the Sleep command.

Copyright 2000-2011 Phantom Automated Solutions