View Single Post
Old 10-17-2021, 10:04 AM   #741
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by Hortensia View Post
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 View Post
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.
capink is offline   Reply With Quote