Skip to content

Global Variable CLOSE_DIALOG...

CLOSE_DIALOG_WHEN_DONE is a global variable that can be set to true or false. According to this variable, the dialog Execute Scripts will be closed after the Lua script is done executing. Please note not to declare this variable as of type local.

CLOSE_DIALOG_WHEN_DONE = true

When Lua encounters an error in the script, the dialog will not close enabling the check for the output.