@chinagreenelvis, MonCol := [[Map()]] is not enough, as it will create only one column for one monitor. If you know the number of monitors and columns beforehand then you can define the MonCol manually like that. Otherwise you can just push new elements into the array.
For example
In actuality you'd write some Loops to read monitor/column info and push them in the array.
For example
CODE:
Monitors := [] ; define the array of monitors
Monitors.Push([]) ; add array for columns
Monitors[1].Push({Width:0, Height:1}) ; column 1
Monitors[1].Push({Width:10, Height:10}) ; column 2
Monitors[1].Push({Width:100, Height:100}) ; column 3
MsgBox "There are " Monitors.length " monitors available"
MsgBox "Monitor 1 has " Monitors[1].Length " columns"
MsgBox "Monitor 1 column 1 width is " Monitors[1][1].Width
In actuality you'd write some Loops to read monitor/column info and push them in the array.
Statistics: Posted by Descolada — Today, 12:53