AMTrigger.WasLocked

Syntax

%AMTrigger.WasLocked%

Trigger supported

Global (supports all triggers)

Type

Boolean

Description

If the workstation was locked when the trigger occurred, the value returned is 1. Otherwise, it will be 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.

Display the message "AMTrigger.WasLocked return value - %AMTrigger.WasLocked% " in a message box.

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

Related Topics