DesktopWidth()

Syntax

Result = DesktopWidth(#Desktop)
Description
Returns the width (in pixels) of the specified desktop. The primary desktop always has the index 0. ExamineDesktops() has to be called before this function to retrieves the informations about the desktops.
  ExamineDesktops()
  MessageRequester("Display Information", "Current resolution = "+Str(DesktopWidth(0))+"x"+Str(DesktopHeight(0))+"x"+Str(DesktopDepth(0)))

Supported OS

Windows, Linux, MacOS X

<- DesktopName() - Desktop Index - ExamineDesktops() ->