Go to: Synopsis. Return value. Related. Flags. MEL examples.
getFileList [-filespec string] [-folder string]
getFileList is undoable, queryable, and editable.
string[] an array of file names
In query mode, return type is based on queried flag.
Long name (short name) | argument types | Properties | ||
---|---|---|---|---|
-folder(-fld)
|
string
|
![]() |
||
|
||||
-filespec(-fs)
|
string
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// List the contents of the user's projects directory // getFileList -folder `internalVar -userWorkspaceDir`; // List all MEL files in the user's script directory // getFileList -folder `internalVar -userScriptDir` -filespec "*.mel";