AMTrigger.ExeName

Syntax

%AMTrigger.Exename%

Trigger supported

Process

Type

String

Description

Returns the absolute path of the process that activated the trigger. An absolute path (also known as full path) is a path that contains the root directory and all other subdirectories that contain a file or folder (for example, C:\folder\subfolder\filename.exe).

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.

Displays attributes about the process that activated the trigger in a message dialog, including Process ID, file name and path tho the .exe.

Copy
<AMSHOWDIALOG WINDOWTITLE="Monitored Process Attributes">
The absolute path of the process that activated the trigger: %AMTrigger.ExeName%
The file name of the process that activated the trigger (excluding path information): %AMTrigger.FileName%
The process ID of the process that activated the trigger: %AMTrigger.ProcessID%</AMSHOWDIALOG>

Related Topics