10-13-2017, 03:30 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
|
Batch copying selected book IDs from GUI?
Is there a way to do this? The use case is that I have certain scripts that call calibredb to modify books, but I need their IDs.
Even better would be an easy way to run arbitrary files (or Python scripts) on selected books in the GUI. |
10-13-2017, 03:50 PM | #2 |
Well trained by Cats
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibredb -list <additional switches> ?
|
Advert | |
|
10-13-2017, 03:57 PM | #3 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Maybe. Sort of. If you want to fiddle a little. Job Spy has a GUI Tool that is a VL Helper that creates search criteria using the book ids of all selected books. So, you could run that, then copy the Search Bar's search criteria it creates into a text document. Then, massage and S&R that text using a text editor to put it into the format you need for your script.
DaltonST |
10-13-2017, 04:19 PM | #4 |
Grand Sorcerer
Posts: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can make a custom column "built from other columns" that contains the book ID, which you can then use in search expressions or what-have-you. The template is
Code:
{id} |
10-13-2017, 04:23 PM | #5 |
null operator (he/him)
Posts: 20,556
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get the selected category in the code of the gui plugin? | esvorontsov | Development | 1 | 10-03-2015 12:52 AM |
How to get a list of books corresponding to the selected tag in the GUI plugin? | esvorontsov | Development | 6 | 09-29-2015 10:06 AM |
Getting IDs of books selected in the GUI | wladdy | Calibre | 3 | 05-09-2015 06:23 AM |
Selected a couple of Authors/Series but Calibre not showing the books selected | lizzyong | Library Management | 3 | 04-16-2015 07:47 PM |
Mobi2Mobi GUI Batch | Jad | Kindle Formats | 8 | 10-22-2008 07:22 AM |