Hi. I have an import/export addon which is working fine, but I’d like to make some things easier.
At the moment when going to File > Export > [addon name] the users can set a variety of properties. Default values for those properties can be read from a config file, but it’s awkward for users to find it (e.g. %appdata%\Blender Foundation\Blender\3.4\config\scripts).
Is it possible for the file browser window to have a button that opens the config file, using the user’s own choice for that type of file?
I’ve done a bit of searching and found that the command os.startfile(path) will work
The question is how to add a button to the file browser window? I know how to add buttons (operators) in the main window (e.g. the materials panel), but I’m not sure what the code is for adding something in the file browser window.
A more visual way of asking:
Thanks for reading!
