examples on darktable lua documentation https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/ Recent content in examples on darktable lua documentation Hugo -- gohugo.io en-us api_version https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/api_version/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/api_version/ 🔗Name api_version.lua - show the Lua API version 🔗Description darktable script to show the Lua API version in the preferences 🔗Usage start this script from script manager. darktable must be running in lua debug mode in a terminal to see the output. 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs 🔗Change Log darkroom_demo https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/darkroom_demo/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/darkroom_demo/ 🔗Name darkroom_demo - an example script demonstrating how to control image display in darkroom mode 🔗Description darkroom_demo is an example script showing how to control the currently displayed image in darkroom mode using lua. 🔗Usage start this script from script manager 🔗Additional Software Required None 🔗Limitations 🔗Author Bill Ferguson - wpferguson@gmail.com 🔗Change Log gettextExample https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/gettextexample/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/gettextexample/ 🔗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 . hello_world https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/hello_world/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/hello_world/ 🔗Name hello_world.lua - a simple lua script 🔗Description prints “hello world when DT starts 🔗Usage start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Ellinghaus 🔗Change Log lighttable_demo https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/lighttable_demo/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/lighttable_demo/ 🔗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 start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author Bill Ferguson - wpferguson@gmail.com moduleExample https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/moduleexample/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/moduleexample/ 🔗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 start this script from script manager it creates a new example lighttable module 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs 🔗Change Log multi_os https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/multi_os/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/multi_os/ 🔗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. panels_demo https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/panels_demo/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/panels_demo/ 🔗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 start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author 🔗Change Log preferenceExample https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/preferenceexamples/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/preferenceexamples/ 🔗Name preferenceExample.lua - show the different preference types that are possible with Lua 🔗Description darktable script to show the different preference types that are possible with Lua 🔗Usage start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs 🔗Change Log printExamples https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/printexamples/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/printexamples/ 🔗Name printExamples.lua - prints “hello world” when darktable starts 🔗Description prints “hello world” to the screen when darktable starts 🔗Usage start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs 🔗Change Log running_os https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/running_os/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.scripts.manual/scripts/examples/running_os/ 🔗Name running_os.lua - prints the operating system 🔗Description prints the operating system 🔗Usage start this script from script manager 🔗Additional Software Required 🔗Limitations 🔗Author Tobias Jakobs 🔗Change Log