When it is launched
The script is launched prior to closing the current task.- If the CanClose.Value property is set to true, the task will be closed after the script execution.
- If the CanClose.Value property is set to false, the task will remain open.
Parameters
| Name | Type | Access | Description |
|---|---|---|---|
| CanClose | IBoolean | Read/write | Specifies whether to close the task |
| Context | ITaskWindow | Read/write | The task window |
