You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
darktable = require "darktable"
local function hello_shortcut(event, shortcut)
darktable.print("Hello, I just received '"..event..
"' with parameter '"..shortcut.."'")
end
darktable.register_event("shortcut",hello_shortcut, "A shortcut that prints its parameters")
Last line should be:
darktable.register_event("hello_short", "shortcut",hello_shortcut, "A shortcut that prints its parameters")
There may be other ones.
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Scripting with Lua section has code samples that do not work.
Steps to reproduce
See code sample at https://docs.darktable.org/usermanual/4.6/en/lua/simple-shortcut/.
Expected behavior
Code samples should work
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
OBS
darktable version
4.6.1
What OS are you using?
Linux
What is the version of your OS?
Debian 12
Describe your system?
Samples do not work. For example, manual has:
Last line should be:
There may be other ones.
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: