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.
here is some code that you can add to your plugin if it relies on another plugin being installed to work
for this example I am going to use the Broadcaster plugin. you can use either the plugin's GUID or the name of the plugin will also work. but this will use the class name to check and see if the plugin is installed
and here is some code if you wanted to set the plugins startup parameters programmatically. if and only if the plugins default parameters will not throw a traceback. this closes the plugins config dialog and then sets the new parameters.
the only way to do this if it does throw a traceback is to use dialog.panel.GetChildren() and set the values for each of the specific widgets then call wx.CallAfter(dialog.DispatchEvent, None, wx.ID_OK) this will set the values then close the dialog.. and you can then remove the wx.CallAfter(treeItem.SetArguments, STARTUP_PARAMETERS)