Variables | |
counter | EM_ANIMATE |
Indicates that the script is re-executed due to an animation. | |
counter | EM_CHANGE |
Indicates that the script is re-executed after a change. | |
counter | EM_KEYDOWN |
Indicates that the user pressed down a key. The key itself is available through the variable ToolName. See example scripts KeyTest1.clu and KeyTest2.clu for an application of this. | |
counter | EM_KEYUP |
Indicates that the user pressed released a key. The key itself is available through the variable ToolName. See example scripts KeyTest1.clu and KeyTest2.clu for an application of this. | |
counter | EM_LINK |
Indicates that the user clicked on a link in the info text window. The data passed by the link is stored in the predefined variable LinkData. See User Interactive Text for more details. | |
counter | EM_NEW |
Indicates that this is the first time the script is being executed after loading. | |
counter | EM_TOOL |
Indicates that the script is re-executed since the user has changed one of the tools. Which tool has been changed can be retrieved from the variable ToolName. | |
counter | EM_USER |
Indicates that the script is re-executed because the user has changed one of the mouse mode variables. | |
counter | ExecMode |
This variable is set to one of the values stored in the predefined variables starting with EM_ . |
ExecMode
contains the currently set execution mode. Hence, you can, for example, check whether the script is re-executed after it has been changed with the following code.
&
.if (ExecMode & EM_CHANGE) { ?"Script is executed after change."; } else { ?"Script is executed for some other reason."; }
|
Indicates that the script is re-executed due to an animation.
|
|
Indicates that the script is re-executed after a change.
|
|
Indicates that the user pressed down a key. The key itself is available through the variable ToolName. See example scripts
|
|
Indicates that the user pressed released a key. The key itself is available through the variable ToolName. See example scripts
|
|
Indicates that the user clicked on a link in the info text window. The data passed by the link is stored in the predefined variable LinkData. See User Interactive Text for more details.
|
|
Indicates that this is the first time the script is being executed after loading.
|
|
Indicates that the script is re-executed since the user has changed one of the tools. Which tool has been changed can be retrieved from the variable ToolName.
|
|
Indicates that the script is re-executed because the user has changed one of the mouse mode variables.
|
|
This variable is set to one of the values stored in the predefined variables starting with
|