DesktopName()

语法

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

参数

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

返回值

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.

示例

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

参阅

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

已支持操作系统

所有

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