Alright, thanks to some help from Bill I think I've got a pretty good
HDRMerge script going.

It should be cross-platform compatible, but that will need to be tested. So
far I've only run it on windows.

I do however, have a few questions still, that hopefully will be simple:

1) When creating a slider widget, how can I define the value it resets to
when double-clicked? I created one with the lines below and it resets to
31, I'd like to be able to define it a value.

HDRMerge_sldr_gap = dt.new_widget("slider"){
    label = 'Batch Gap [sec.]',
    tooltip = 'Gap, in seconds, between batch mode groups \ndefault: (3).',
    soft_min = 1,
    soft_max = 60,
    hard_min = 1,
    hard_max = 60,
    step = 1,
    digits = 0,
    value = 3, --pref_gap,
    }

2) Does anyone have insight on how to suppress the command window that pops
up when calling a program through dt.control.execute()? It's a nuisance.

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Attachment: HDRMerge.lua
Description: Binary data

Reply via email to