User Tools

Site Tools


en:code:core:execution

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

  • (Execution) this Execution

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

  • (Execution) this Execution

Global Attributes

filename

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

en/code/core/execution.txt · Last modified: 2016/10/09 11:10 (external edit)