@chaley: thanks a lot for your efforts and patience. I am more than satisfied with your final implementation. I will test and report back.
Quote:
Originally Posted by chaley
@capink: you use the FormatterFunction class in Action Chains and set is_python=True. This works with the new code to distinguish between python template functions and stored templates. However, if you need to distinguish between stored GPM templates and stored python templates then you must use the object_type attribute. If you want to store python templates then you must use the FormatterUserFunction class instead of the FormatterFunction class.
The current code is attached. There are 5 .py files. If either of you have time and energy to try it before I submit the changes to Kovid that would be great.
|
I will take these into consideration for my next version. Thanks again.