AMTrigger.WasLocked

Syntax

%AMTrigger.WasLocked%

Trigger supported

Global (supports all triggers)

Type

Boolean

Description

If the workstation is locked when the trigger occurred, the value returned is 1. Otherwise, it is 0.

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.

The following displays the message AMTrigger.WasLocked return value - %AMTrigger.WasLocked%:

Copy
<AMSHOWDIALOG WINDOWTITLE="AMTrigger return value">AMTrigger.WasLocked return value - %AMTrigger.WasLocked%</AMSHOWDIALOG>

Related Topics