darktable.gui.action

function(
  path : string,
  [instance] : integer,
  element : string,
  [effect] : string,
  [speed] : integer
) : string

Will perform the specified effect on the path, instance, and element of an action, or return the status.

  • path - string - The full path of an action, i.e. 'lib/filter/view'.
  • [instance] - integer - Optional - The instance of an image processing module to execute action on. If not provided, 1 is used.
  • element - string - The element of an action, for example ‘selection’, or leave empty for default.
  • [effect] - string - Optional - The effect of an action, for example ’next’, or leave empty for default.
  • [speed] - integer - Optional - 1 causes the effect to be performed, 0 or NaN returns the current status.
  • return - string - The current status of the action.