Table of Contents

Execution

The Execution object provides functions to manipulate the current execution.

Functions

pause

Pauses the script execution.

Syntax

Execution.pause(duration);

Arguments

  1. duration - (int) pause duration in milliseconds

Returns

Example

Execution.pause(5000); //Pauses the execution for five seconds

See also

Notes

The effective pause duration may be different (+/- 50 ms) than the given argument due to operating system precision.

sleep

Alias of the pause function.

stop

Stops the current execution.

Syntax

Execution.stop();

Returns

Global Attributes

filename

The filename of the current script or code file. (string) [Added in Actiona 3.9.2]