MonitorGetName

Returns the operating system's name of the specified monitor.

Name := MonitorGetName(N)

Parameters

N

Type: Integer

The monitor number, between 1 and the number returned by MonitorGetCount. If omitted, the primary monitor is used.

Return Value

Type: String

This function returns the operating system's name for the specified monitor.

Error Handling

An exception is thrown on failure.

Related

SysGet, Monitor functions

Examples

See example #1 on the Monitor Functions page for a demonstration of this function.