Also on an irrelevant do any of you guys know whether there is any plugin for wiimote "floating" around? Despite my best tries I haven't found one yet.
PS: Excuse my bad English I'm not a native speaker
Below is a screenshot for an example I made, that should show one way of doing it.Steven185 wrote:I would like to know if there is a way to make it trigger an action when a very specific -certain- sequences of events happen one after another.
Code: Select all
Remote.Move
Remote.Swap
Remote.PIP
First event
Enable: Second event
Disable: First event
Remote.Swap
Second event
Enable: Third event
Disable: Second event
Remote.Move
Third event
Show OSD: Sequence finished
Enable: First event
Disable: Third eventCode: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1568">
<Folder Name="Event sequence">
<Macro Name="First event" id="1826" Expanded="True">
<Event Name="Remote.PIP" />
<Action>
EventGhost.EnableItem(XmlIdLink(1824))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(1826))
</Action>
</Macro>
<Macro Name="Second event" id="1824" Enabled="False" Expanded="True">
<Event Name="Remote.Swap" />
<Action>
EventGhost.EnableItem(XmlIdLink(1822))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(1824))
</Action>
</Macro>
<Macro Name="Third event" id="1822" Enabled="False" Expanded="True">
<Event Name="Remote.Move" />
<Action>
EventGhost.ShowOSD(u'Sequence finished', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
</Action>
<Action>
EventGhost.EnableItem(XmlIdLink(1826))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(1822))
</Action>
</Macro>
</Folder>
</EventGhost>Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544" Guid="{71452CD6-E6D6-4586-87A9-F6DD8F1DAF68}" Time="1344007446.97">
<Autostart Name="Autostart" Expanded="True">
<Plugin Identifier="Keyboard" Guid="{59CBD10F-C1D8-4ADB-999B-9B76BA360F1F}" File="Keyboard">
gAIpLg==
</Plugin>
<Plugin Identifier="Timer" Guid="{6149CA99-1FCD-4450-9160-7543BC20CFD3}" File="Timer">
gAIpLg==
</Plugin>
</Autostart>
<Folder Name="Compound Commands" Expanded="True">
<Macro Name="<unnamed macro>" Expanded="True">
<Event Name="Timer.ResetCompoundCommand" />
<Action>
EventGhost.EnableItem(XmlIdLink(751))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(752))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(759))
</Action>
</Macro>
<Folder Name="t" id="751" Expanded="True">
<Macro Name="Enable exclusive: t2" Expanded="True">
<Event Name="Keyboard.1" />
<Action>
Timer.TimerAction(u'CompoundCommandTimeOut', 0, 1, 1.0, u'ResetCompoundCommand', False, True, 1, u'00:00:00')
</Action>
<Action>
EventGhost.EnableItem(XmlIdLink(752))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(751))
</Action>
</Macro>
</Folder>
<Folder Name="t2" id="752" Enabled="False" Expanded="True">
<Macro Name="<unnamed macro>" Expanded="True">
<Event Name="Keyboard.2" />
<Action>
EventGhost.EnableItem(XmlIdLink(759))
</Action>
<Action>
EventGhost.DisableItem(XmlIdLink(752))
</Action>
</Macro>
</Folder>
<Folder Name="t3" id="759" Enabled="False" Expanded="True">
<Macro Name="Start Program: CCleaner.exe" Expanded="True">
<Event Name="Keyboard.3" />
<Action>
System.Execute(u'E:\\Program Files\\CCleaner\\CCleaner.exe', u'', 0, False, 2, u'', False)
</Action>
</Macro>
</Folder>
</Folder>
</EventGhost>