Auto-tasks are a special kind of script which you can edit within PCC2 on the Task Screens.

An auto-task is a list of commands. Commands that can change control flow, such as If or ForEach, are not allowed. You can, however, define a subroutine and call that.

A special command is Restart. This command is supported in auto-tasks only, and cannot be used in normal scripts. It will cause the auto-task to restart from the beginning.

Note: Internally, an auto-task is a little more than just a script containing a list of commands. Auto-tasks provide automatic error handling. If an auto-task contains an error, it will be stopped with a notification, and you will be given the opportunity to fix it. A regular script will be terminated when it encounters an error.