CFileList:Start
The Start method begins iteration for the CFileList object. Use this to restart after using Next to step through some number of files in the file list.
CFileList:Start() This method has no parameters or return value. |
The following script opens a file list from the file named sFileName. It then skips to the 4th file and retrieves its name. The CFileList object is then reset to iterate over the entire file list:
|
-- create a CFileList from the file sFileName |
|
-- exit if not 4 or more files |
|
-- step through the first 3 files |
|
-- dump the file name |
|
|
|
-- retrieve the 4th file name |
|
-- reset the file list to the beginning |
|
-- step through the file list |
|
-- save the file name for use |
-- do something with the file |
|
|
|
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.