AMTrigger.AML
Syntax
%AMTrigger.AML%
Trigger supported
Global (supports all triggers)
Type
String
Description
Returns a verbose set of information about the triggered event in AML (Automation Markup Language) format. The type of information returned varies depending on which trigger is specified. For example, if the Key trigger was used to trigger the event, the information returned would look similar to the AML code shown below:
Copy
<AMKEYTRIGGER KEYS="Alt+Q" PASSTHROUGH=NO AM5_TRIGGERID={6649F49B-C339-4B1D-B33A-E129CB07B6C9} />
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Display the message "AMTrigger.AML return value: %AMTrigger.AML%" in a message box.
Copy
<AMSHOWDIALOG WINDOWTITLE="AMTrigger return value">AMTrigger.AML return value: %AMTrigger.AML% </AMSHOWDIALOG>