Quote:
Originally Posted by eater
The "drop" interface is cool but I'd love a way to use this plugin on my command line, piping a list of Recoll results and getting the output in the Calibre GUI. Is that possible?
Quote:
Originally Posted by DaltonST
Drop Search Results is designed for Drag and Drop using file path results of GUI-based search applications like Agent Ransack, Windows Search, X1, etc. One could write a tiny GUI created from a command line that loads supplied file path parameters that can then be dragged and dropped.
|
|
However, since you are using a Linux command-line app and not a GUI search app with drag-and-drop capability, you might try this approach:
[1] Use the Job Spy plugin's tool "Search for book title list currently in the system clipboard". Each title must be delimited with a "\n", as if you had a text file with a single title on each line that you had copied to the clipboard.
[2] Write a Python script with a command line parameter that adds a long string of book titles to the system clipboard. For ideas how to do so, see:
https://stackoverflow.com/questions/...t-to-clipboard
[3] Pipe a list of Recoll results to your new Python script.
[4] In Calibre, create a custom Keyboard Shortcut to the Job Spy tool in [1], above, to make it trivial to execute.
DaltonST