I'm developing a custom "Insert File"-window for my assembly environment, with quick access to different folders (current project, toolbox, recently used and a basic profile generator). Everything works so far (in debugging, not from within Solid Edge yet... but that's a different issue) except I can't find the data to get recent files.
Anyway, I would like to add a list of recently opened files, just like the one Solid Edge has. Does anyone know where Solid Edge stores the data for this?
Strangly, I don't see an API way to get the values. But, they are stored in HKEY_CURRENT_USER\Software\Unigraphics Solutions\Solid Edge\Version 108\MRU so they can be read from there.
Wow, fast reply! Thank you Jason (I'm a fan of your work )
I'm going to start learning to read from registry
It works perfectly!
To anyone who's interested: Here's how to get the Recently Used Files in SE (HKEY location might be different, depending on your version of SE, in my case Version 107)
The "GetIconForExtension" is a custom function to get the default file icon available somewhere on the web.
Might not be the shortest code, but it does the job