Quote:
Originally Posted by Hortensia
Using the Event Manager, is it possible to execute a chain after running the FanFicFare plugin?
I checked my Jobs list after running FanFicFare and it produces a download and a convert action. I think that if it could be checked that these two actions are executed, then it could trigger the chain execution.
I am trying to use capink's post on the module editor:
Where can I find the events "book downloaded" and "book converted"?
|
There are no "book downloaded" and "book converted" events. You will have to write these yourself. Events in Action Chains are based on pyqt signals, so unless FanFicFare plugin provides signals for these events (I don't think it does), you cannot write your event.
Quote:
Originally Posted by Hortensia
And should both events simply be listed one after the other instead of
Code:
return self.gui.search.changed
or is something need to say "and"?
|
you should return only one signal per event. If you want the same event to be triggered in response to more than one signal, you have to create your own signal that is triggered by all the other signals, and return that signal in the get_event_signal() method.