Using a tool script, is there any way to get the currently selected resource in the FileSystem widget?
It would be really neat to have some sort of callback for "OnResourceSelected" in the FileSystem, but so far I've found no way to get this information. In addition, I don't really see any workarounds, other than creating my own resource browser.
Specifically, what I'm looking to do is create a resource based on selecting audio streams. The created resource should take its name from one of the selected audio files, and use them to populate its own list of audio streams.