No problem. Glad you got it working!tnkrer wrote:Thanks Brett, That's what I was looking for!
Ok, that looks like a problem in the plugin. Does it make any difference between fullscreen or not?JasonD wrote: Yes, the logs look like this.Event, Macro, Action.Code: Select all
MceRemote.Right MCE: Right MCE: Right
Here's the relevant code. Since you aren't getting the "MCE is not running" message, the FindMCE() call must be succeeding. My guess is that ehshell is made up of multiple windows, and the message is being sent to the wrong one.
Code: Select all
FindMCE = eg.WindowMatcher(u'ehshell.exe', u'Windows Media Center', None, None, None, 0, False, 0.0, 0)
class hotKeys(eg.ActionClass):
def __call__(self):
hwnds = FindMCE()
if len(hwnds) != 0:
eg.SendKeys(hwnds[0], self.value, False)
else:
self.PrintError("MCE is not running")
returnBrett