User Tools

Site Tools


built_in:list_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
built_in:list_folder [2015/08/31 19:24]
octazid [Description] add options
built_in:list_folder [2015/11/02 08:49]
octazid [Table] FullPath
Line 9: Line 9:
 The 'filter' parameter is an optional text parameter which allows you to specify a filter pattern. For example to find only mp3 files, you would specify ".mp3" as a filter The 'filter' parameter is an optional text parameter which allows you to specify a filter pattern. For example to find only mp3 files, you would specify ".mp3" as a filter
  
-Note: You can use the JavaScript 'split' function to convert the list to a JavaScript array if required.+Note: ListFolder returns a JavaScript array.
  
 <code> list = app.ListFolder( path, filter, limit, options );</code> <code> list = app.ListFolder( path, filter, limit, options );</code>
Line 51: Line 51:
  
 </code> </code>
 +
 +
 +----
 +====Options====
 +| alphasort  | sort a list of folders in alphabetical order     |
 +| FullPath   | returns a list with the Fullpath of the content  |
built_in/list_folder.txt ยท Last modified: 2016/05/08 15:36 (external edit)