View Single Post
Old 01-12-2016, 10:38 AM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Template Language

I was reading several post about the powerful template language, so I thought I'd try some of the features. Works well for the basic stuff I was experimenting with to add custom columns


1. Would it be possible to validate a template prior to saving it and restarting Calibre? I made a deliberate mistake ( as opposed to my normal ones) and left off a closing brace to see what would happen. It wasn't until it restarted that the error was caught. If it had been validated when I tried to exit, it would have been handier so I could fix it right away

2. Would it be possible to show a preview of the results of the template on the selected book in the template dialog while building it so the user could get a feel for the results? Might be helpful for the new or occasional template creator.

3. After Calibre restarts, the Virtual Library I had open before restarting, is no longer open, and it defaults to All. If I had a VL open when I closed, could (option maybe) the same VL be selected when I come back?
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	653
Size:	194.4 KB
ID:	145454  

Last edited by phossler; 01-12-2016 at 10:43 AM.
phossler is offline   Reply With Quote