Can we get a new event that fires when a configuration file is unloaded, something that is the mirror image of Main.OnInit ?
Motivation: I need to broadcast an event over the LAN when the configuration is closed, so that the other computers know that they should not use Network Event Sender or Broadcaster etc. to send events to this computer.
I already trap Main.OnClose for when EventGhost closes, but that does not help when changing XML configuration files.
The name of it is not important, Main.OnQuit or whatever, but the purpose would be useful.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Main.OnUnload event
Main.OnUnload event
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)
Re: Main.OnUnload event
Here is another situation I just ran into where it is needed.
I have added a recurring task to eg.Scheduler.
If I close the configuration and then reopen it later, the callback function gets called twice.
(And the callback function gets called more often the more times I reopen the configuration tree)
I have added a recurring task to eg.Scheduler.
If I close the configuration and then reopen it later, the callback function gets called twice.
(And the callback function gets called more often the more times I reopen the configuration tree)
EventGhost 0.4.1.r1640
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)
PHX01RN plugin v3.0.1
Windows XP 32bit (v5.1 Build 2600 Service Pack 2)
Windows7 64bit (v6.1 Build 7601 Service Pack 1)