|
|
#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. |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,286
Karma: 62000000
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 | |
|
|
|
|
#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 |
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,528
Karma: 8065948
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}
|
|
|
|
|
|
#5 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
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 01:52 AM |
| How to get a list of books corresponding to the selected tag in the GUI plugin? | esvorontsov | Development | 6 | 09-29-2015 11:06 AM |
| Getting IDs of books selected in the GUI | wladdy | Calibre | 3 | 05-09-2015 07:23 AM |
| Selected a couple of Authors/Series but Calibre not showing the books selected | lizzyong | Library Management | 3 | 04-16-2015 08:47 PM |
| Mobi2Mobi GUI Batch | Jad | Kindle Formats | 8 | 10-22-2008 08:22 AM |