I'm using EG for a short time now and i'm amazed about what can be done with it!
I use it in combination with a Logitech harmony One and a RC6 Dongle.
My OS is Windows 7 Ultimate SP1. I use the lated EG version 0.4.1.r1540 and enabled the "Autostart with Windows"-Option
I made a macro which should extend the Scrren to my Second Monitor, start VLC Player (using VLC Plugin) move it to the second screen and maximize the vlc window.
Works perfect if i start Windows with extended Monitors.
Starting EG without the second Monitor being activated, makes it impossible to use the second monitor in any Command until i activate it and restart EG.
Is this a problem that can be fixed anyhow?
These are my macros:
Code: Select all
<Macro Name="VLC starten" Expanded="True">
<Event Name="MceRemote.Mce.Videos" />
<Action>
EventGhost.TriggerEvent(u'ExtendMonitor', 0.0)
</Action>
<Action>
EventGhost.Wait(1.0)
</Action>
<Action>
VLC.Start(u'')
</Action>
<Action>
Window.FindWindow(u'vlc.exe', u'VLC media player', u'QWidget', None, None, None, False, 3.0, 0)
</Action>
<Action>
EventGhost.ShowOSD(u'Fenster gefunden', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 4, (0, 0), 0, 3.0, False)
</Action>
<Action>
Window.MoveTo(0, 0, 1)
</Action>
<Action>
Window.Maximize()
</Action>
<Action Name="Strg + O">
Window.SendKeys(u'{ctrl_O}', False)
</Action>
<Action Name="Shift + Tab">
Window.SendKeys(u'{Shift+Tabulator}', False)
</Action>
<Action>
Window.FindWindow(u'vlc.exe', u'W\xe4hlen Sie eine oder mehrere Dateien zum \xd6ffnen', u'#32770', None, None, None, False, 0.0, 0)
</Action>
</Macro>
<Macro Name="Monitor erweitern">
<Event Name="ExtendMonitor" />
<Action Name="Monitor erweitern">
System.Execute(u'E:\\Windows\\System32\\DisplaySwitch.exe', u'/extend', 3, False, 2, u'', False)
</Action>
</Macro>