AMTrigger.WindowClass

Syntax:

%AMTrigger.WindowClass%

Trigger Supported:

Key, Window

Type:

String

Description:

Returns the unique window class of the window that activated the trigger. The table below describes how this value is returned for each type of trigger.

Trigger Type

Description

Key trigger

Returns the unique window class of the window that was focused (in front of all other open windows) when the trigger occurred.

Window trigger

Returns the unique window class of the window that activated the trigger.

Example:

Description: Display the message "When the task triggered, the focused window's class was %AMTrigger.WindowClass%" in a message box.

 

<AMSHOWDIALOG>When the task triggered, the focused window's class was %AMTrigger.WindowClass%</AMSHOWDIALOG>

 

See Also:


AMTrigger.Action | AMTrigger.Keys |  AMTrigger.WindowHandle | AMTrigger.WindowTitle | AMTrigger.WindowClass