Go to: Synopsis. Return value. Flags. MEL examples.
lsUI [-cmdTemplates] [-collection] [-contexts] [-controlLayouts] [-controls] [-dumpWidgets] [-editors] [-head int] [-long] [-menuItems] [-menus] [-numWidgets] [-panels] [-radioMenuItemCollections] [-tail int] [-type string] [-windows] [-workspaceControls]
[objects]
lsUI is undoable, NOT queryable, and NOT editable.
This command returns the names of UI objects.string[] | The names of the object arguments. |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-cmdTemplates(-ct)
|
|
|||
|
||||
-collection(-col)
|
|
|||
|
||||
-contexts(-ctx)
|
|
|||
|
||||
-controlLayouts(-cl)
|
|
|||
|
||||
-controls(-ctl)
|
|
|||
|
||||
-dumpWidgets(-dw)
|
|
|||
|
||||
-editors(-ed)
|
|
|||
|
||||
-head(-hd)
|
int
|
|||
|
||||
-long(-l)
|
|
|||
|
||||
-menuItems(-mi)
|
|
|||
|
||||
-menus(-m)
|
|
|||
|
||||
-numWidgets(-nw)
|
|
|||
|
||||
-panels(-p)
|
|
|||
|
||||
-radioMenuItemCollections(-rmc)
|
|
|||
|
||||
-tail(-tl)
|
int
|
|||
|
||||
-type(-typ)
|
string
|
|||
|
||||
-windows(-wnd)
|
|
|||
|
||||
-workspaceControls(-wc) 2023
|
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// List all windows. // lsUI -windows; // List all panels and editors. // lsUI -panels -editors; // Use the -typ/type flag to list all controls and control layouts. // Alternatively, you could use the -ctl/controls and -cl/controlLayouts // flags. // lsUI -type control -type controlLayout; // Or... // lsUI -controls -controlLayouts; // List all workspace controls. // lsUI -type workspaceControl;