# AG\_EVTMSG
> [HTML Version](ag_evtmsg.htm)
_Reviewed and revised December 2023_
**tab(-10, AG\_EVTMSG); opflags \{,msg\}; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md)
AG\_EVTMSG (57) may be used to send a message to the System Messages window on the client / ATE workstation.
**Parameters**
_opcode_
one of the following:
| **Value** | **Action** |
|------|------|
| 1 | open the System Messages window |
| 2 | msg; opens System Messages window if necessary |
| 3 | close the System Messages window |
| 514 | output msg, followed by "application paused - doubleclick to resume" and wait for doubleclick |
_msg_
Message to output. Ignored for op 1 and 3.
**Response**
none
**Comments**
The AG\_EVTMSG command underlies the implementation of the [TRACE Statements](trace_statements.htm.md).