One of the coolest features of the Lua scripting, to me, is building your own UI elements. I figured out how that’s done from various examples, but I’d have appreciated a tutorial for it in the docs. The interplay with the CSS theming is interesting, too.
I know I initially struggled to understand the overall flow of lua scripts - the interaction between darktable and the script - e.g. when different functions got called - on initialisation as DT started up or when called via an export or callback in a module, and persistence of variables etc.
Probably basic stuff but having it laid out clearly and unambiguously would be really useful (tho may trigger a big refactoring of my scritps once I understand how I should have done things!)
Hi Bill,
I really appreciate the work you have done. I personally feel your script that allows exporting to collection should be part of the standard DT features because it is so useful and logical.
I look forward to your guide and hopefully it will give me the skills to try and learn to write some of my own scripts.