![]() |
#16 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 24
Karma: 10
Join Date: Aug 2024
Location: Netherlands
Device: Samsung Tablet Galaxy Tab A7 (Cantook)
|
|
![]() |
![]() |
![]() |
#18 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
I thought the template used for titles would run fine for authors, but I couldn't make it work. Here's what I want to automate via Action Chains:
One click executes a search and replace to change 'john smith' to 'John Smith'. Tried this in bulk metadata dialog: Spoiler:
@chaley, I wonder if such a feature would be implementable/welcome in the bulk MDE, similar to the title case functionality. edit: just found how to do this, without a template, in Bulk MDE: it's 'Apply function after replace' Last edited by Comfy.n; 01-08-2025 at 07:33 AM. |
![]() |
![]() |
![]() |
#19 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
python: def evaluate(book, context): import re new_auts = [] for author in book.authors: aut = [] for w in re.split(r'([ _.()])', author): aut.append(w.capitalize()) new_auts.append(''.join(aut)) return ' & '.join(new_auts) |
|
![]() |
![]() |
![]() |
#20 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
thanks!
Last edited by chaley; 01-08-2025 at 11:52 AM. Reason: Took out off-topic discussion |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
10% Credit Towards Great on Kindle Titles When Purchasing One of Those Titles | Manabi | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 11-01-2019 01:07 AM |
my kindle doesn't show proper file name in case of pdfs | barteq | Devices | 1 | 03-06-2017 10:09 PM |
kindle origami voyage case or the leather origami case? want a simple case | wakkaday | Amazon Kindle | 14 | 10-19-2016 12:56 PM |
Sigil Proper Case Setting | Themus | Sigil | 14 | 04-26-2013 03:47 AM |
change book file name from capital letters to proper case | tsolignani | Library Management | 12 | 03-28-2013 04:16 AM |