<description>🔗Name gettextExample.lua - darktable script to show how translations works
🔗Description To create the .po file run: xgettext -l lua gettextExample.lua
xgettext is not a lua tool, it knows (almost) nothing about Lua, and not enough to do a proper parsing. It takes a text file (In our case a Lua file) and recognises a few (language dependant) keyword in there. It matches those keywords with internal description on how functions are called and creates the .</description>
<description>🔗Name lighttable_demo.lua - an example script demonstrating how to control lighttable display modes
🔗Description lighttable_demo is an example script showing how to control lighttable layout, sorting, and filtering from a lua script. If the selected directory has different ratings, color labels, etc, then the sorting and filtering display is a little clearer.
🔗Usage require this script from your main lua file 🔗Additional Software Required 🔗Limitations 🔗Author Bill Ferguson - wpferguson@gmail.</description>
<description>🔗Name moduleExample.lua - create a new example lighttable module
🔗Description More informations about building user interface elements: https://www.darktable.org/usermanual/ch09.html.php#lua_gui_example And about new_widget here: https://www.darktable.org/lua-api/index.html.php#darktable_new_widget
🔗Usage require this script from your luarc file To do this add this line to the file .config/darktable/luarc: require &ldquo;examples/moduleExample&rdquo;
<description>🔗Name multi_os.lua - an example script that runs on linux, MacOS, and Windows.
🔗Description multi_os is an example of how to write a script that will run on different operating systems. It uses the lua-scripts libraries to lessen the amount of code that needs to be written, as well as gaining access to tested cross-platform routines. This script also performs a function that some may find useful. It creates a button in the lighttable selected images module that extracts the embedded jpeg image from a raw file, then imports it and groups it with the raw file.</description>
<description>🔗Name panels_demo.lua - an example script demonstrating how to contol panel visibility
🔗Description panels_demo is an example script showing how to control panel visibility. It cycles through the panels hiding them one by one, then showing them one by one, then hiding all, then showing all. Finally, the original panel visibility is restored.
🔗Usage require this script from your main lua file 🔗Additional Software Required 🔗Limitations 🔗Author 🔗Change Log </description>
<description>🔗Name running_os.lua - prints the operating system
🔗Description prints the operating system
🔗Usage require this script from your main lua file To do this add this line to the file .config/darktable/luarc: require &ldquo;running_os&rdquo; 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs