[Users] how to reply and run an action

Flavio Leitner fbl at sysclose.org
Mon Dec 10 11:59:07 CET 2012


On Sat, 8 Dec 2012 18:21:21 +0100
Holger Berndt <berndth at gmx.de> wrote:
[...]
> As Mones said, the Python plugin is also an alternative. An
> auto/compose_any script will be called everytime a compose window is
> opened (be it composing a new message, replying, forwarding).
> 
> You you don't want this to happen automatically, but to have a
> separate menu item that opens a reply window and does some work in it,
> that's also possible with the Python plugin. You could assign a
> keyboard shortcut to it, or dump it into the toolbar.
> 
> The normal way would be to do your modifications in Python directly
> in this case. It would also be possible to trigger menu items in the
> compose window - however, a quick look seems to indicate that for some
> strange reason Actions are not directly accessible. That isn't really a
> blocker, though, as it should be possible to mimic script invokation
> in Python directly.

Looks like the python plugin is the way to go. Is there any
example out there that you recommend for me to take a look?

I know python, but I don't know the plugin interface.

thanks!
-- 
fbl



More information about the Users mailing list