J Albrecht
2017-01-09 17:16:20 UTC
Hello all,
Every so often I come across a post referencing âextraâ lua scripts. They look to be quite intriguing. So much so that Iâve loaded them all from github into my .config/darktable directory and modified my luarc file with ârequire âscriptââ etc. Alas, after doing this the expected additional functionality doesnât seem to be available! Notwithstanding me being unable to get even a mere whiff of response from these github scripts, I canât even get the simple example in the dt manual to work. For example:
9.1.2. A simple lua example
Let's start with a simple example. We will print some code on the console. Create a file called luarc in darktable's configuration directory (usually ~/.config/darktable/) and add the following line to it:
print("Hello World !")
Start darktable and you will see the sencence Hello World ! printed on the console.
Umm, no, nothing happened :-(
Can somebody please shed light on how some of us code-witless souls can âeasily" make use of the lua script functionality? With all due respect, the current documentation is lacking effectiveness in this regard.
Many thanks in advance!
Every so often I come across a post referencing âextraâ lua scripts. They look to be quite intriguing. So much so that Iâve loaded them all from github into my .config/darktable directory and modified my luarc file with ârequire âscriptââ etc. Alas, after doing this the expected additional functionality doesnât seem to be available! Notwithstanding me being unable to get even a mere whiff of response from these github scripts, I canât even get the simple example in the dt manual to work. For example:
9.1.2. A simple lua example
Let's start with a simple example. We will print some code on the console. Create a file called luarc in darktable's configuration directory (usually ~/.config/darktable/) and add the following line to it:
print("Hello World !")
Start darktable and you will see the sencence Hello World ! printed on the console.
Umm, no, nothing happened :-(
Can somebody please shed light on how some of us code-witless souls can âeasily" make use of the lua script functionality? With all due respect, the current documentation is lacking effectiveness in this regard.
Many thanks in advance!