How can I implement an event handler for ANY keystroke?
I thought I just can write a macro like this
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1544">
<Macro Name="OnKeyStroke" Expanded="True">
<Event Name="Keyboard.*" />
<Action>
EventGhost.PythonCommand(u'print "keystroke"')
</Action>
</Macro>
</EventGhost>
Btw, in the ÔÇÿiMON plugin' (a plugin for Soundgraph iMON remotes) this syntax works expected: I can listen for ÔÇÿiMON.*ÔÇÖ events and the macro is called with every key pressed on the remote.
Is there another way? ...I cannot imagine that this is impossible and I have to list every single character key?!?
(I'm using EG 4.1 latest on W7)