Spogg, good to hear it works now
(It's the little things so often)
Some more info about its inner working:
- The tree-list is built from scratch each time you click to open the menulist. That means it will recognize whatever changes you make to the folders or files (renaming, moving, copying, deleting, etc) even while running the plugin/fsm.
- The menulist is sorted. It uses an algorithm called "natural sort", which makes you see files in a natural order (opposed to strict ASCII-ABC). Additionally it sorts "files first then folders".
- You can actually make any folder on or beneath the same layer the root folder. Say you have a folder "Data" on the same layer than your plugin/fsm. Inside there are the folders "bin", "ruby", "patches". And inside "patches" you have the folders "factory" and "user". You want to display patches, but don't want the user to have direct access to the content of "factory". Then you would enter the following string as rootfolder:
Data\patches\user
- You can have as many subfolders (or subfolders in subfolders, etc.) as you like.
- Empty folders won't be shown in the list. But if a folder contains another folder, even if that contained folder is empty, it will be shown. That might be confusing, or even lead to issues, but I can't change that behavior. So test extensively if it works ok for you with folders that contain nothing else than another empty folder. Or better yet, prevent it from happening
- The view options were meant to simplify the integration of the file list module. You could connect it to your current GUI, define a rectangle within that view as click area and it works.
Have fun