property desktopWidth

(r/o) int32 desktopWidth;

Typ

Zugriff

This property returns the width of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors.
function screenInfo()
{
    var desktopWidth = appUtils.desktopWidth;
    var desktopHeight = appUtils.desktopHeight;
    shell.print("desktop size = " + desktopWidth + " x " + desktopHeight);
}