Project

General

Profile

Feature #11363

add .trash() method to dt_lua_image_t

Added by Richard Wonka almost 3 years ago.

Status:
New
Priority:
Low
Category:
Lua
Target version:
-
Start date:
12/14/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0.7
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I'd like to use lua to register a shortcut for trashing all rejected images, but I can only call delete()

As sending to trash will have to handle duplicates and xmp files it would be reinventing the wheel to put this handling into lua, when dt's native trash function already does this.

Can we have a lua call to dt_lua_image_t.trash() please?

Also available in: Atom PDF

Go to top