AMTrigger.IdleSince

Syntax

%AMTrigger.IdleSince%

Trigger supported

Idle

Type

Number (time value)

Description

Returns the date/time the system initially became idle. The date/time is returned in the following format:

MM/DD/YYYY HH:MM:SS

For example, if the system became idle on January 2, 2014 at 11:00 AM, the return value would be:

01/02/2014 11:00:00

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 "The system was idle since - %AMTrigger.IdleSince%" in a message box.

Copy
<AMSHOWDIALOG WINDOWTITLE="AMTrigger Return Value">The system was idle since - %AMTrigger.IdleSince%</AMSHOWDIALOG>

Related Topics