AMError.TaskName
Syntax:
%AMError.TaskName%
Type:
String
Description: Returns the name of the task that generated the error.
Example:
<AMVARIABLE NAME="theError"></AMVARIABLE> <AMRUN AM_SETVAR="theError;%AMError.ErrorDesc%" AM_ONERROR="CONTINUE" FILE="BogusFile.exe" /> <AMSHOWDIALOG WINDOWTITLE="AMError return value"> AMError.ErrorDesc return value: %AMError.ErrorDesc% </AMSHOWDIALOG>