getMainDevice ?-v?
Return a list containing the x-coord and y-coord of the origin and the width and height of the rectangle defining the main device. If the
-v option is specified, return only the visible frame: in that case, the returned rectangle is always based on the current user-interface settings and does not include the area currently occupied by the dock and menu bar.