The following are the Task object functions for COD scripts.

FunctionExampleDescription
beginprogresstask.beginprogress(<integer>)
task.beginprogress(5000)
Initialize Task Progress Bars for specified length
endprogresstask.endprogress()End Task Progress Bars