View Single Post
Old 07-01-2025, 01:20 PM   #1510
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,649
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by Clem2605 View Post
Is there any way to use the plugin to copy a composite column's content and paste it in another (normal text) column?

Context:
I use a composite 'Sort Column' to sort my books in Calibre, and I use the Calibre Sync plugin to access my books on my phone and my tablet. However, Calibre Sync cannot access composite columns' content. Which means that sorting my books there is pretty inefficient.
So I was wondering if I could create a simple text column where I could paste my sort column's content. I'm not doing that by hand, it's simply not worth it, but could it be done with the action chain plugin? I'm guessing I would use the Copy to Clipboard action for the first part, but how do I paste the content in my new column?

I don't really see another way to do it? I could maybe number the books in the order in which they appear once I've sorted them in Calibre, but I don't see how to even begin to do that, and it would need to be updated way more often than the first option.

If it changes anything:
- I have two libraries in which I would like to implement this column, both have the same sort column name.
- Calibre Sync's sorting is case-sensitive, so I ideally would like to switch to lowercase at some point (I can do that by myself if I use the Copy to Clipbord Action)
Perhaps one option is a "Search and replace" with a regular expression. Something like:
* Search field: Composite column
* Search: (.*?)
* Replace: \1
* Destination field: Text column
Terisa de morgan is offline   Reply With Quote