[Digikam-users] Re: How to pass a list of images file names to a script of mine ?
etienne at charlier.info
Thu Nov 11 21:57:37 GMT 2010
Thanks for your advices ...
My goal was to be able to create a "workqueue" usable with Bibble 
Indeed, a small kipi plug in might be the solution. ( I tried to write
one a few years ago but gave up)
I hope the qtscript feature foreseen in digikam 2.0 will solve those
kind of use cases very easily.
Thanks to a scripting interface and a rich api exposed by digikam, the
core developers could focus on core features and let the community deal
with peripheral features like external tool integration, web gallery,
export to ,...
That would be a much better usage of the resources committed to digikam
development than letting the core team deal with the whole functionality.
PS: Look at the imatch program  and its scripting interface.
Le 11/11/10 22:40, Ben Staude a écrit :
> Hello Etienne,
> I'm also interested in the question you posted. I tried RMB -> "Open With" ->
> "Other...", this calls the program (or script) you select once for each
> selected file. This might already suite your needs or, when you need to call
> your script only once with all paths as arguments, you could create a simple
> script that appends its argument to some (hardcoded) tmp file, and then run
> your script with the contents of that tmp file as its arguments.
> <some more tryouts>
> Within System Settings -> Mime Types (?, "Dateizuordnungen" in german), you
> can add your custom script for the filetypes it supports. It then appears
> directly in the RMB menu (still being called once for each file selected).
> On the other hand, it should be only a small task for a digikam developer to
> write a kipi plugin that simply creates a txt file with the paths of the
> currently selected files - I think this might be quite useful in some
> Am Dienstag 09 November 2010 schrieb Etienne Charlier:
>> I'm evaluating digikam ( to replace imatch, my last windows program...)
>> Let's say I selected some images ( by search, selecting an album,
>> keyword search,...)
>> I'm looking for a way to pass the full pathname of all selected images
>> to a bash script I'd write.
>> - where to put the script
>> - how can I retrieve the list of filenames ( command line arguments,
>> stdin, temp file) ?
>> - how to integrate the launch of this script in digikam's user
>> interface ???
>> Thanks a lot for this beautifull piece of software...
>> Digikam-users mailing list
>> Digikam-users at kde.org
> Digikam-users mailing list
> Digikam-users at kde.org
More information about the Digikam-users