The following example displays the path to the current task list and the total number of tasks in it.
Sub Main
MsgBox (AutoMate2.TaskList + ô has ô + AutoMate2.TaskCount + ô task(s).ö)
End Sub