MonitorGetName

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

Name := MonitorGetName(N)

Parameters

N

Type: Integer

If omitted, the primary monitor will be used. Otherwise, specify the monitor number, between 1 and the number returned by MonitorGetCount.

Return Value

Type: String

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

Error Handling

An exception is thrown on failure.

SysGet, Monitor functions

Examples

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