If we use plugins for that we will have to recreate all of the UniversalUpdates code in python. That might be a good thing to have for plugins in the long run anyway.
That said, we could easily add an TrimPrefix Rename menu item and a TrimSuffix Rename menu item and that would ask for the prefix or suffix to trim where Prefix would trim from the left (only if filename actually starts with that prefix), and similarly for a suffix that worked on the filename to the left of the extension.
We could add them to the BookBrowser context menu or to the MainWindow tools menu.
Any interest?
Or alternatively we could use some sort of regular expression based matching to extract the desired name piece.
Last edited by KevinH; 11-17-2019 at 07:21 PM.
|