Set set/get folder/files in the preferences with LUA
At the moment I can only define preferences of the type string. It would be nice to have special type for folders/files with an folder/file selector in the preferences.
I have written a LUA script (Issue #8930) to export a video, with the preference to set the export folder. At the moment the user can enter every thing in the string field, which could lead to problems.
#2 Updated by Tobias Ellinghaus about 5 years ago
- bitness set to 64-bit
- System set to all
- Affected Version set to git development version
That could probably be done by placing a GtkFileChooserButton  into the prefs (generated by Lua).
#3 Updated by Jérémy Rosen about 5 years ago
yes, I had a look at that earlier... the complicated part is having a way for the lua-coder to specify what type of file chooser he wants (file, directory, file-filter, only existing or allow creation of new etc...)
there is really nothing complicated here, but quite a bit of work to be done... it will all be saved as a string in the backend anyway