|  05-10-2023, 09:57 PM | #1 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
				
				Book-details panels and keyboard focus
			 
			
			I'm referring to the detached BD panels (non-modal dialogue boxes) not the embedded BD panel under or to the right of the book list/grid, i.e: After popping either of these (in my 'priority' order) 
 That's the problem with adding new features, someone will use them   BR | 
|   |   | 
|  05-11-2023, 09:10 PM | #2 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			I could resolve the return of keyboard focus to book list by putting a calibre://show-book link into a long-text column.  However, I can't figure out how to do that for existing books via Bulk metadata search and replace. I can replace an empty long-text field with a suitably wrapped calibre://show-book/_hex_-426f6f6b73/NNNNNN easy enough, but I don't want NNNNNN, I want the value of the id column. I tried replacing NNNNNN with {id} to no avail. Can templates be used in the replace string? BR Last edited by BetterRed; 05-11-2023 at 09:12 PM. | 
|   |   | 
| Advert | |
|  | 
|  05-12-2023, 01:54 AM | #3 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			Use template as the source field, (^.*$) as the search field, and \1 as the replacement field. Ensure that the source template produces the answer you want.
		 | 
|   |   | 
|  05-12-2023, 03:22 AM | #4 | |
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 But I found a different solution that has given me what I want, I used an existing #book-row virtual column whose template is {id} as the search field. But now at least, I know how template searches are meant to be used. BR Last edited by BetterRed; 05-15-2023 at 09:01 PM. | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Book details->Copy->All book details | BetterRed | Library Management | 25 | 05-10-2023 01:14 AM | 
| Book details popup window: Can't send to device with keyboard shortcut | gerhaher | Library Management | 1 | 02-04-2022 09:51 AM | 
| Switching keyboard input does not work in Calibre search is in focus | xashyar | Viewer | 10 | 07-12-2021 05:18 AM | 
| Book Check Missing - Reset Panels? | Rand Brittain | Editor | 2 | 09-05-2017 02:49 PM | 
| Focus on First Wave of E-book Marketing | DMcCunney | News | 6 | 12-18-2010 07:45 PM |