Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2019, 08:44 AM   #1
scmaybee
Junior Member
scmaybee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: Kindle
Red face How to copy a custom column's content of selected book

I need to output the name of the selected book, just like the result of using the template output when I "save to disk".
is there a plugin to deal with this?
scmaybee is offline   Reply With Quote
Old 08-15-2019, 09:00 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,703
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by scmaybee View Post
I need to output the name of the selected book, just like the result of using the template output when I "save to disk".
is there a plugin to deal with this?
Output it to where ?

If you mean the save template itself, then custom columns are available :

Click image for larger version

Name:	Annotation 2019-08-15 225112.jpg
Views:	337
Size:	98.1 KB
ID:	172933

If you mean you want to copy the Book Title to a custom column then Metadata Edit Bulk Search and Replace is the best place to do that - be careful though.

Otherwise elaborate

And welcome to MobileRead.

BR
BetterRed is offline   Reply With Quote
Advert
Old 08-15-2019, 09:11 AM   #3
scmaybee
Junior Member
scmaybee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: Kindle
Smile

Quote:
Originally Posted by BetterRed View Post
Output it to where ?

If you mean the save template itself, then custom columns are available :

Attachment 172933

If you mean you want to copy the Book Title to a custom column then Metadata Edit Bulk Search and Replace is the best place to do that - be careful though.

Otherwise elaborate

And welcome to MobileRead.

BR
Thanks for your reply, BR

I concatenated some columns' value to generate a new column, now I want copy it and paste in another place as a quote.
Output the result to clipboard or a txt file is OK.
scmaybee is offline   Reply With Quote
Old 08-15-2019, 10:02 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,014
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I don't think you can do it that way.
Calculated columns (values) don't actually exist in the DB
Are these really dynamic? You might use the MDE in bulk mode: S&R to compute (or append) values to a normal custom column
theducks is offline   Reply With Quote
Old 08-15-2019, 06:50 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,703
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by scmaybee View Post
Thanks for your reply, BR

I concatenated some columns' value to generate a new column, now I want copy it and paste in another place as a quote.
Output the result to clipboard or a txt file is OK.
For a single book you can copy from Book Information. Press 'I' (if the column you want isn't shown, there's a Configure link at bottom right), right click somewhere, select Copy All, paste into text editor. If you double click in a column value you can Copy just that value to the clipboard - I find that a bit tricky, but I'm an old keyboard warrior

For many books it would probably be easier to create a CSV Catalogue. You'll probably need to add that tool to a toolbar/menu, or give it a shortcut. You can select which columns you want, including calculated columns.

BR

Last edited by BetterRed; 08-15-2019 at 06:52 PM.
BetterRed is offline   Reply With Quote
Advert
Old 08-16-2019, 03:47 AM   #6
scmaybee
Junior Member
scmaybee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: Kindle
Wink

Quote:
Originally Posted by theducks View Post
I don't think you can do it that way.
Calculated columns (values) don't actually exist in the DB
Are these really dynamic? You might use the MDE in bulk mode: S&R to compute (or append) values to a normal custom column
Yes, they are dynamic, the template is something like "《{title}》{#title2:ifempty({#title2})|(|)}{#gfbh:i fempty({#gfbh})|(|)}{#edition:ifempty({#edition})| (|)}", it contains ifempty() expression, so it's hard to be handled by S&R.
scmaybee is offline   Reply With Quote
Old 08-16-2019, 03:58 AM   #7
scmaybee
Junior Member
scmaybee began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2019
Device: Kindle
Thumbs up

Quote:
Originally Posted by BetterRed View Post
For a single book you can copy from Book Information. Press 'I' (if the column you want isn't shown, there's a Configure link at bottom right), right click somewhere, select Copy All, paste into text editor. If you double click in a column value you can Copy just that value to the clipboard - I find that a bit tricky, but I'm an old keyboard warrior

For many books it would probably be easier to create a CSV Catalogue. You'll probably need to add that tool to a toolbar/menu, or give it a shortcut. You can select which columns you want, including calculated columns.

BR
Thank you very very much, create CSV Catalogue works great, although it's a little bit complicate.
I didn't know this function before, it puzzles me a very long time. I like you man
scmaybee is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move selected data from series column to a new custom column fvdham Library Management 3 06-02-2017 03:49 PM
Custom Column on Content Server: 404 Not Found annekaelber Calibre 14 04-05-2014 04:39 AM
Copy Custom Column to another library gabby98 Calibre 10 01-26-2014 10:59 PM
Update custom column's content? Pepin33 Development 1 08-18-2012 02:16 PM


All times are GMT -4. The time now is 08:38 PM.


MobileRead.com is a privately owned, operated and funded community.