ErrorMessage()

Auto Hotkey

ErrorMessage

Retrieve the error message from system message table resources.

OutputVar := ErrorMessage(MessageId)
Function Example: Error := ErrorMessage(A_LastError)

Parameters

OutputVar

The name of the variable in which to store the error message.

MessageID

The message identifier (A_LastError).

Examples

MsgBox % ErrorMessage(87)