On Sun, Apr 14, 2019, at 11:27, David Vincent-Jones wrote:

> Is there some way that exporting to the current folder would directly 
> import the results ans save having to make the second step?

This is exactly the kind of thing Lua is useful for. The following quick and 
dirty example will reimport any exported image with a "blue" label immediately 
upon export:
--------------------------------------------------

local dt = require "darktable"

dt.register_event("intermediate-export-image",
  function (event, image, filename, format, storage)
    if image.blue then
      dt.database.import(filename)
    end
  end
)

--------------------------------------------------

If you really wanted to make this a "normal" behavior of exporting to the 
original directory, you would probably want to implement it as a new storage 
type. There's an example of that here:

 https://darktable.gitlab.io/doc/en/lua_chapter.html#lua_storage_example

-- 
jys
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to