How do I tell EG to stop processing the current event from a Python script?
TIA
- Jeff
Stop Processing Event
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Stop Processing Event
Simply:jsonnabend wrote:How do I tell EG to stop processing the current event from a Python script?
Code: Select all
eg.event.skipEvent = True
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Stop Processing Event
Pako -
Thanks for the info. I ended up doing: eg.plugins.EventGhost.StopProcessing(), which I think does the same thing.
- Jeff
Thanks for the info. I ended up doing: eg.plugins.EventGhost.StopProcessing(), which I think does the same thing.
- Jeff
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Stop Processing Event
Both work, but using eg.plugins.EventGhost.StopProcessing() is more the "official" way, since eg.event.skipEvent is not documented.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!