useful shortcut for culling

Good morning everyone,
I like culling my photos in darktables darkroom filtering out rejected photos to make them disappear once culled.

To make things a smidge easier I created a lua script for a shortcut that rejects the current photo and moves to the next. Maybe one of you will find it useful:

local dt = require "darktable"


local function reject_next_shortcut(event, shortcut)
dt.gui.action("views/thumbtable/rating", "reject", "activate", 1.000)
dt.gui.action("views/darkroom/image forward", 1.000)
end

dt.register_event("reject_next_shortcut",
                  "shortcut",
                  reject_next_shortcut,
                  "Reject current image and move to next")

(installation: Save this to your configuration folder as e.g. reject_next.lua to ~/.config/darktable/lua/user and append require user/reject_next to your darktablerc. Then enable the script in the scripts module and set the shortcut in the preferences)

4 Likes