Quote:
Originally Posted by Tanjamuse
Hello Dalton.
In the "Protect/Unprotect Custom Columns", would it be possible to add an option to merge hidden metadata?
As I would like to hide some of my columns which I don't want to accidentally edit, but I would still like to add metadata to them if I merge 2 books?
Thanks
|
@Tanjamuse:
That particular JS GUI Tool just tweaks a table that tells standard Calibre to create or not create input widgets in the Edit Metadata dialogs for Custom Columns. Calibre loads that table into memory at
startup only. That is why you must restart Calibre after tweaking that table using that particular JS GUI Tool. It is also one reason that you must restart Calibre after creating or changing any Custom Columns.
The best way to do what you want is to create a "Virtual Tab" within that JS GUI Tool called something like "Merge Books", and set all appropriate Custom Columns to "enabled/not hidden/editable". Then, whenever you are going to merge books, temporarily activate that Virtual Tab so all of your Custom Columns are displayed and editable. Merge your books. Then, using that GUI Tool reset the active Virtual Tab to what you were usually previously. Don't forget to restart Calibre after clicking the JS button "Update 'Editable' Per Current Settings".
See the attached example. Hope that helps.
DaltonST