When using VCA task scripts, why are changes sometimes lost and why does the task wizard show different settings to the script? How to avoid that?
Question
When using VCA task scripts, why are changes sometimes lost and why does the task wizard show different settings to the script? How to avoid that?
Answer
How to use the VCA Task Script Language?
The task wizards stores settings for the user interfaces in the VCA task script in a condensed format. This is the green text you see in the VCA task scripts:

When changing existing VCA tasks in the VCA task script, it can happen that their values do not align anymore with the script values themselves. Therefore, when changing the VCA task script, it is recommended to change the task type to “scripted”. For scripted tasks, the VCA task script editor opens instead of the task wizards, avoiding potential mismatches.
See section 1.2:

The task type is defined by comment: //@Task T:0 V:1 I:1
Where T:0 is a scripted task, V defines the version (always 1) and I is the position of the task in the task overview table.
See section 2.1:
[See the circled comments in blue]

Here is what it looks like to change the script to disable the VCA Wizard.
Once the task type has been set to “scripted” or 0, the icon of the task changes to a pen on a page.
