Retrieve the error message from system message table resources.
OutputVar := ErrorMessage(MessageId)Function Example: Error := ErrorMessage(A_LastError)
The name of the variable in which to store the error message.
The message identifier (A_LastError).
MsgBox % ErrorMessage(87)