hi i'm loving this program! but i wish i knew how to toggle certain plugins w/ the same button
button (if these are enabled):
disable: plugin: multitap
disable: plugin: keyboard
button (if these are disabled):
enable: plugin: multitap
enable: plugin: keyboard
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.
How to toggle plugins?
Re: How to toggle plugins?
You can take it one step further and use the enable disable actions to essentially create the toggle button. Like so..
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="851">
<Folder Name="Enable/Disable toggle button example" Expanded="True">
<Macro Name="Enable" id="1654" Expanded="True">
<Event Name="ACTION" />
<Action>
EventGhost.EnableItem(XmlIdLink(1645))
</Action>
<Action>
EventGhost.EnableItem(XmlIdLink(16))
</Action>
<Action>
EventGhost.EnableItem(XmlIdLink(1653))
</Action>
<Action Name="Disable: Enable">
EventGhost.DisableItem(XmlIdLink(1654))
</Action>
</Macro>
<Macro Name="Disable" id="1656" Expanded="True">
<Event Name="ACTION" />
<Action>
EventGhost.DisableItem(XmlIdLink(1645))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(16))
</Action>
<Action>
EventGhost.EnableItem(XmlIdLink(1654))
</Action>
<Action Name="Disable: Disable">
EventGhost.DisableItem(XmlIdLink(1656))
</Action>
</Macro>
</Folder>
</EventGhost>Re: How to toggle plugins?
thanks! simple and works perfectly