I am newish to prog.
The macro works fine if I Execute Item from right-click menu in Eventghost, but if add keyboard shortcut as an Event and trigger that way, it carries out every Action except the Keyboard Emulation.
This is my code:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1722">
<Macro Name="Find Window: vlc.exe" Expanded="True">
<Event Name="Keyboard.Shift+Ctrl+U" />
<Action>
Window.FindWindow(u'vlc.exe', None, u'QWidget', None, None, None, False, 0.0, 0)
</Action>
<Action>
Window.SendKeys(u'n', False, 2)
</Action>
</Macro>
</EventGhost>