Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1540">
<Folder Name="Volume Control" Expanded="True">
<Macro Name="Decrease Volume" Expanded="True">
<Event Name="X10.VolumeDown" />
<Event Name="ErgoMouse.Button.234" />
<Event Name="HID.Button.3" />
<Action>
System.ChangeMasterVolumeBy(-5.0, 0)
</Action>
<Action id="762">
EventGhost.ShowOSD(u'{"c" *int(round(eg.result) * 0.20) + "g" *int(round(100-(eg.result)) * 0.20)}', u'0;-12;0;0;0;400;0;0;0;2;3;2;1;18;Webdings', (255, 255, 255), (0, 0, 0), 3, (8, 48), 0, 2.0, True)
</Action>
<Action>
EventGhost.AutoRepeat(0.40000000000000002, 0.050000000000000003, 0.01, 0.40000000000000002)
</Action>
</Macro>
<Macro Name="Increase Volume" Expanded="True">
<Event Name="X10.VolumeUp" />
<Event Name="ErgoMouse.Button.233" />
<Event Name="HID.Button.4" />
<Action>
System.ChangeMasterVolumeBy(5.0, 0)
</Action>
<Action id="770">
EventGhost.ShowOSD(u'{"c" *int(round(eg.result) * 0.20) + "g" *int(round(100-(eg.result)) * 0.20)}', u'0;-12;0;0;0;400;0;0;0;2;3;2;1;18;Webdings', (255, 255, 255), (0, 0, 0), 3, (8, 48), 0, 2.0, True)
</Action>
<Action>
EventGhost.AutoRepeat(0.40000000000000002, 0.050000000000000003, 0.01, 0.40000000000000002)
</Action>
</Macro>
<Macro Name="Mute Sound Card" Expanded="True">
<Event Name="X10.Mute" />
<Action>
System.ToggleMute(0)
</Action>
<Action>
EventGhost.NewJumpIf(XmlIdLink(777), 0, False)
</Action>
<Action>
EventGhost.ShowOSD(u'X\xf0', u'0;-64;0;0;0;400;0;0;0;2;3;2;1;18;Webdings', (255, 255, 255), (0, 0, 0), 3, (16, 56), 0, 2.0, True)
</Action>
</Macro>
<Macro Name="Show OSD: Mute ON" id="777" Expanded="True">
<Action>
EventGhost.ShowOSD(u'Xr', u'0;-64;0;0;0;400;0;0;0;2;3;2;1;18;Webdings', (255, 255, 255), (0, 0, 0), 3, (16, 56), 0, 0.0, True)
</Action>
</Macro>
</Folder>
</EventGhost>