DesktopName()

Syntax

Result$ = DesktopName(#Desktop)
Description
Returns the name (if any) for the specified desktop.

Parameters

#Desktop The index of the desktop. The first index always specifies the primary monitor. The first index value is zero.

Return value

Returns a string with the desktop name. If there is no name then an empty string is returned.

Remarks

ExamineDesktops() must be called before using this function to retrieve information about the available desktops.

Example

  ExamineDesktops()
  MessageRequester("Display Information", "Primary desktop name = "+DesktopName(0))

See Also

ExamineDesktops(), DesktopDepth(), DesktopFrequency(), DesktopHeight(), DesktopWidth()

Supported OS

All

<- DesktopMouseY() - Desktop Index - DesktopWidth() ->