VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。
Data Lists
Syntax
LIST DROPFILES,<list>
LIST FILELIST,<list>,<filespec>, <attributes>
LIST FONTLIST,<list>
LIST LOADFILE,<list>,<filename>
LIST LOADTEXT,<list>
LIST MODULES,<list>,<task>
LIST REGKEYS,<list>,<root key>,<subkey>
LIST REGVALS, <list>,<root key>,<subkey>
LIST SAVEFILE,<list>,<filename>
LIST SELECT,<list>,<id>,<path>,<name1>,<name2>, … [VDS6]
LIST TASKLIST,<list>,<flags>
LIST WINLIST,<list>,<flags>
Description
These LIST commands are used to get data into string lists. The parameter <list> must be either a list identifier or the name of the dialog list element to which the command will apply. An error will occur if the list does not already exist.
LIST DROPFILES is used to add to the list <list> the names of files that haveve been dropped on to a dialog window that has the DRAGDROP property.
LIST FILELIST is used to add to the list <list> the names of files that match a particular specification, which may include wildcards. Note that whether just the name and extension or the full path is returned depends on whether a full path is given in <filespec>. The file specification may optionally be followed by a list of attributes which will be used to filter the list of files selected. The attributes may be specified as: A - archive; D - directory; H - hidden; R - read only; S - system; V - volume label. The attributes are additive, so if you specify HS for example the list will contain files that have the hidden attribute, the system attribute or both..
LIST FONTLIST fills a listbox with the names of fonts installed on the system.
LIST LOADFILE is used to create a list holding the contents of a named text file. It is possible to load text into a string list, LIST or COMBO dialog element from a TEXT resource linked into the executable file. To use this facility, the name of the text file should be prefixed by a "#" character.
LIST LOADTEXT loads text from the script file into the list. The text to be loaded should immediately follow the command, and each line should begin with a double-quote (") in column 1. (There is no need for a closing quote. The quote is just an indication to the interpreter that the line is to be added to the string list not treated as a command.)
LIST MODULES fills a list with information about the modules belonging to a task. It requires an extra parameter containing the name of a task (this must be the full pathname under Windows 9x) or its process identifier.
LIST REGKEYS is used to obtain a list of subkeys of the named subkey (see the REGISTRY command for more details).
LIST REGVALS is used to obtain a list of values of the named subkey.
LIST SAVEFILE is used to save the contents of a list to a named text file.
[VDS6] LIST SELECT adds to the list one line for each node in the XML document <id> that matches the XML query <path>. Each line will contain the values and attributes specified by <name1>, <name2> etc., separated by the current field separator character.
LIST TASKLIST fills a list with information about the tasks running on the system. Optional flags N and I allow you to choose whether the list should contain the name of the task and/or its process identifier, separated by the current field separator character. ([VDS6] The flag H is also supported, and returns the process identifier as a hexadecimal number.)
LIST WINLIST is used to obtain a list of all the windows (including hidden windows) present on the system. The flags may be specified as: C - class name; I - window identifier; N - window name or title. If more than one flag is specified then the values are concatenated in the list with each one separated by the current field separator character in a form suitable for splitting up with the PARSE command.
OK
Set to false if the command fails.
Example
LIST LOADFILE,1,C:.SYS
LIST FILELIST,LB1,*.tmp