Specifies how many file names are maintained in the recently-accessed file list.
| Note: | This parameter is valid only in an Editor window. |
Scope: Global
Syntax
query recentsize
set recentsize [Number]
Options
Number |
The number of file names maintained in the recently- accessed file list. Number must be an integer with value of 0 to 10 inclusive. If a value is not specified, Number defaults to 0. |
Description
The Editor window can display a list of the recently-accessed files. If the recentmenushow parameter has a value other than off, and the recentsize parameter has a value other than 0, a list of recently-accessed file names is displayed in the File pull-down menu. Files can be opened by double-clicking on the file names displayed in the recently-accessed file list. The value of the recentsize determines the maximum number of file names displayed in this list.
If you open or save a file whose name already appears in the recently- accessed file list, the name of that file is moved to the top of the list. If the file name is not already in the recently-accessed file list, the name of that file is added to the top of the list, and all other entries move down one position.
If adding a file name to the recently-accessed file list causes the number of files in that list to exceed the value of Number, the file name at the bottom of the list is removed from the list.
Example
set recentsize 10
query recentsize
API Return Codes
-2 |
Invalid value specified for Number. |
![]()
lx Command
recentfilecmd Parameter
recentmenushow Parameter
recentpathshow Parameter
save Command
