-- Command: volumelist ID/K, COMMAND/K, PORT/K, HELP/K, NODE/K, ATTRS/K/M volumelist objects are created with this command. * ID [I..] - an id can be assigned to a volumelist for later reference. The id can be any combination of up to 5 characters. If the id is given without any other arguments, and the volumelist has been previously created, then the currently selected volume will be returned in RESULT (if OPTIONS RESULTS is specified in the script). * COMMAND [I..] - if given, the command will be executed whenever an item in the volumelist is double clicked. For a complete description of this option see Command-Port Options. Note that the selected volume name will be used to replace a `%s' contained in the command string. * PORT [I..] - a specific host port may be specified by this argument. For a complete description of this option see Command-Port Options. * HELP [I..] - with this argument help text may be defined which will be displayed as balloon help whenever the pointer is over the associated volumelist. Of course, this is dependant on whether the user set up balloon help in the MUI preference settings. * NODE [I..] - this argument is used to specify a node in the guide file given in the command line argument HELP for `MUIRexx'. If the user positions the mouse pointer over the volumelist and presses the help button on the keyboard then the guide file will be displayed at the node location. * ATTRS [ISG] - with this option any MUIA attribute TAGs may be set or retrieved (see Attribute TAGs). Some useful TAGs for use with this command are: TAG_Name = TAG_id Flags Type List_Active = 0x8042391c /* V4 isg LONG */ List_AdjustHeight = 0x8042850d /* V4 i.. BOOL */ List_AdjustWidth = 0x8042354a /* V4 i.. BOOL */ List_AutoVisible = 0x8042a445 /* V11 isg BOOL */ List_DragSortable = 0x80426099 /* V11 isg BOOL */ List_DropMark = 0x8042aba6 /* V11 ..g LONG */ List_Entries = 0x80421654 /* V4 ..g LONG */ List_First = 0x804238d4 /* V4 ..g LONG */ List_Format = 0x80423c0a /* V4 isg STRPTR */ List_InsertPosition = 0x8042d0cd /* V9 ..g LONG */ List_MinLineHeight = 0x8042d1c3 /* V4 i.. LONG */ List_Quiet = 0x8042d8c7 /* V4 .s. BOOL */ List_ShowDropMarks = 0x8042c6f3 /* V11 isg BOOL */ List_Title = 0x80423e66 /* V6 isg char * */ List_Visible = 0x8042191f /* V4 ..g LONG */ Listview_ClickColumn = 0x8042d1b3 /* V7 ..g LONG */ Listview_DefClickColumn = 0x8042b296 /* V7 isg LONG */ Listview_DoubleClick = 0x80424635 /* V4 i.g BOOL */ Listview_DragType = 0x80425cd3 /* V11 isg LONG */ Listview_Input = 0x8042682d /* V4 i.. BOOL */ Listview_MultiSelect = 0x80427e08 /* V7 i.. LONG */ Listview_ScrollerPos = 0x8042b1b4 /* V10 i.. BOOL */ Listview_SelectChange = 0x8042178f /* V4 ..g BOOL */ CycleChain = 0x80421ce7 /* V11 isg LONG */ Disabled = 0x80423661 /* V4 isg BOOL */ HorizDisappear = 0x80429615 /* V11 isg LONG */ HorizWeight = 0x80426db9 /* V4 isg WORD */ ShowMe = 0x80429ba8 /* V4 isg BOOL */ VertDisappear = 0x8042d12f /* V11 isg LONG */ VertWeight = 0x804298d0 /* V4 isg WORD */ Weight = 0x80421d1f /* V4 i.. WORD */ Note: Consult MUI:Developer/Autodocs/MUI_List.doc, MUI_Listview.doc, MUI_Volumelist.doc, MUI_Area.doc and MUI:Developer/C/Include/libraries/mui.h Example use of this command: window TITLE '"MUIRexx Demo"' COMMAND '"quit"' PORT DEMO volumelist, COMMAND '"dirlist ID DIR1 PATH %s"' PORT DEMO NODE '"volumelist"', ATTRS Weight 50 . . . endwindow