Okay, I took the code pieces I had and BeckyEbook's robotic arm svg, and pushed to master a rough proof of concept for using automate lists of plugin names.
It only works with the main icon theme right now since it is just a proof of concept.
Sigil adds a Automate toolbar with 3 automate icons. These can have keyboard shortcuts assigned.
To use it, the user needs to create a list of plugin names (no version or .zip) one per line using any text editor and save the file as utf-8.
A '#' can be used to comment out a line.
And then save it in your Sigil Prefs directory under:
automate01.txt
automate02.txt
automate03.txt
I have tried to make the validation with errors block but still be non-modal so that errors can be fixed before choosing ignore or abort. But this may open a kettle of fish as it will be easy to lose the fact that a automation list is still in progress.
If you build your own, bug reports welcome.
If this appears to be useful, we will eventually expand the known commands to include some primary C++ based Sigil tools and then create a dialog to make it simple to edit and create these lists without having to use a separate text editor. Perhaps even making a plugin to edit these automation lists.
Last edited by KevinH; 08-12-2021 at 11:17 AM.
|