# Screens
Module for identifying screens.
# Primary screen
var screens = Module.load("Screens", { version: "v1.0.0" });
var primaryScreen = screens.primary;
Resulting primaryScreen is a screen object.
# All screens
var screens = Module.load("Screens", { version: "v1.0.0" });
var allScreens = screens.all;
Resulting allSreens is an array containing a screen object for each screen you have.
# Screen object
Properties:
isPrimaryboolean which indicates if the screen is the primary screen.boundssize object of the entire screen.workingAreasize object of the screen without the taskbar.isOn({ x: 10, y: 20 })returns a boolean whether the coordinates are insidebounds.namethe name of the screen.
# Size object
Properties:
heightheight of the area in pixels.widthwidth of the area in pixels.xthe horizontal location of the leftmost point af the area on the screen.- for
workingAreawith a left located taskbar this will show where on the screen the working area begins.
- for
ythe vertical location of the topmost point of te area on the screen.