This is a head's up for all plugin developers. In my dev tree I have made changes to support the following new plugin.xml tag.
Code:
<autostart>true</autostart>
If this tag is found in your plugin.xml, Sigil will automatically do the equivalent of hitting the start button for the user when your plugin is launched. If it is set to false or is not found at all, the current behaviour is utilized - in other words the user will have to manually hit the Start button.
Therefore this change should be completely backwards compatible and my plan is to add it for the next release of Sigil unless there is no interest from plugin developers.
Also, if there is interest from plugin developers, I could also add an:
Code:
<autoclose>true</autoclose>
tag to the plugin.xml that will automatically close the plugin dialog if and only if the return value from the plugin is 0.
Please let me know what you think of the autostart capability and if you would like an autoclose tag as well.
Thanks,
KevinH