Has anyone gone to the trouble of making a script that will automatically build a menu tree component based on folder structure? Ideally this would be a binding on the menu tree component. Not even sure where to start as I'm not aware of a way to access the Project Browser structure. I'd be inclined to spend some more time on it myself if it took longer than 5 minutes to just do it manually (Assign the graduate).
You can use
system.perspective.getProjectInfo() and parse it to get an array of all the views in your project.
Personally I would just do it manually, as this will also return all your popups, embedded views etc. So you'd have to manually exclude them all. Which depending on your project might take longer than manually making the navigation yourself. And also if you wanted to customise the icons you'd also need to manually do this as well.