Assuming myarray is required, the following result was found.
central, and right-most monitors: ; init DetectHiddenWindows, Off v_LeftMost := 0 v_Center := 0 v_RightMost := 0 a_MyArray := Array() ; get all monitors (excl. hidden/virtual) SysGet, v_MonitorCount, 80 Loop %v_MonitorCount% { ; monitor boundaries...