get_folder_items(folder_name)
Description
Return a table of all item ids for items that are in a folder.
Example
x = get_folder_items("Date Expressions");
max=table.maxn(x);
msgbox(max,"# items");
for i=1,max do;
msgbox(get_item_text(x[i]),"Value");
end
- This block of code will show the item text for each of the items that are in the [Date Expression] folder.
- First the item ids are assigned to a table x, the maximum index of the table is assigned to max and displayed in a message box, and then the item text is displayed in a message box.
- The bold items are eccoext LUA expression the rest of the code are LUA coding.
>
Related Rules
none
Rules