Generically, it may be more useful to replace the big green "publish" button with a small "Automate" toolbar with lists of activities to automate.
Making a plugin call other plugins is probably doable but they would need to be of the same plugin type (edit vs input vs output vs validate) to keep the interface straight and get a result back into Sigil if needed.
There's a lot to consider as every activity including plugins would have to return a success or failure indicator of some sort.
It would be nice to somehow allow some of the C++ based Sigil tools be run from within a plugin, but that is very hard given our Sigil and current plugin design.
So we will be better off creating a C++ routine to run a user configurable list of activities that can include invoking plugins.
We just have to figure out the best way to do that and make it easy for people to configure and customize.
Last edited by KevinH; 08-05-2021 at 03:29 PM.
|