Windows: Arrange Windows
Arrange windows in a certain sequence.
Minimum Origin Version Required:2022b SR0
winarrange col:=3 direction:=vertical overlap:=1 offset:=20;
winarrange col:=2 order:=ascend type:=1 overlap:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Columns | col |
Input int |
|
Specify the number of columns when you sorting the windows. |
Sorting Order | order |
Input int |
|
Specify sorting windows order by which method.
Option list:
|
Window Name | name |
Input int |
|
When you select By Window Name Ascending (order:=ascend) or By Window Name Descending (order:=descend) as sorting order, you can specify use the Short Name or Long Name as the order. |
First by Window Type | type |
Input int |
|
When you select By Window Name Ascending (order:=ascend) or By Window Name Descending (order:=descend) as sorting order,, you can set Window Type as the highest priority sorting level. |
Direction | direction |
Input int |
|
Sorting the windows in horizontal or vertical direction firstly.
Option list:
|
Overlap Each Column | overlap |
Input int |
|
Specify whether the window shows overlap.
Option list:
|
Offset (Title Bar Height=10) | offset |
Input double |
|
When specify overlap:=1, you can customize the offset of each window.
Note: this is the vertical offset. The horizontal offset is fixed value. |
Include Minimized Windows | restore |
Input int |
|
Specify whether arrange the minimized windows as other windows.
Option list:
|
Share Active Window Size | active |
Input int |
|
Set other windows size the same as the active windows when arrange Windows.
Option list:
|