Here's what I used.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1262">
<Folder Name="Monitor" Expanded="True">
<Macro Name="Monitor ON (Laptop) ||| OFF Projector">
<Event Name="Keyboard.LAlt+F8">
</Event>
<Event Name="Firefly.Back">
</Event>
<Action>
System.SetDisplayPreset(('\\\\.\\DISPLAY1', 0, 0, 1680L, 1050L, 60L, 32L, True, True, 0L), ('\\\\.\\DISPLAY2', 0, 0, 800, 600L, 60L, 32L, False, False, 0L))
</Action>
<Action>
EventGhost.ShowOSD(u'OFF (110MP) ON (Laptop)', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)
</Action>
</Macro>
<Macro Name="Monitor ON (Projector) ||| OFF Laptop">
<Event Name="Keyboard.LAlt+F8">
</Event>
<Event Name="Firefly.Enter">
</Event>
<Action>
System.SetDisplayPreset(('\\\\.\\DISPLAY1', 0, 0, 1680L, 1050L, 60L, 32L, False, False, 0L), ('\\\\.\\DISPLAY2', 0, 0, 800, 600L, 60L, 32L, True, True, 0L))
</Action>
<Action>
EventGhost.ShowOSD(u'ON (110MP) OFF (Laptop)', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)
</Action>
</Macro>
</Folder>
</EventGhost>