TaskId |
Syntax:
%TaskId()%
Description:
Returns the unique ID of the currently running task. Each running AutoMate task has a unique number assigned to it at runtime to differentiate it from other tasks running with the same name. TaskID is a read-only property of the running task.
Parameter Description:
(no parameters)
Example:
Sub Main
' Display the task ID of the currently running task
MsgBox TaskId()
EndSub
See Also
IsLeapYear, FirstDateOfDayInMonth, FirstDateOfDayInQuarter, FirstDateOfDayInYear, LastDateOfDayInMonth, LastDateOfDayInQuarter, LastDateOfWeek, LastDayOfQuarter