Green button doesn't start MP with MPTray running (1 Viewer)

DragonQ

Portal Pro
August 30, 2011
644
79
Home Country
United Kingdom United Kingdom
MediaPortal Version: 1.2.1
MediaPortal Skin: MPStreamed
Windows Version: Windows 7 x64 SP1
CPU Type: Intel Celeron G530
HDD: Intel 40 GB 300 Series SSD
Memory: Kingston; 4 GB; 1066 MHz
Motherboard: MSI H67MA-E35 (B3)
Video Card: nVidia GT 430 (fanless)
Video Card Driver: Latest
Sound Card: GPU HDMI out
Sound Card AC3: None
Sound Card Driver: Latest
1. TV Card: None
1. TV Card Type: None
1. TV Card Driver: None
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: LAV Filter
MPEG2 Audio Codec: LAV Filter
h.264 Video Codec: LAV Filter
Satelite/CableTV Provider:
HTPC Case: SilverStone Grandia GD04B
Cooling:
Power Supply: Antec EarthWatt EA 380D Green
Remote: Hama MCE Remote
TV: Bush HDTV
TV - HTPC Connection: HDMI

For some reason the "green button" on my remote doesn't launch MediaPortal even though I have everything set up correctly according to the wiki:

MediaPortal%20-%203rd%20Party%20Checks.png

MediaPortal%20-%20MPTray.png


MPTray is running and the green button works fine once MediaPortal is running (to return to the Home screen). The logs show that the correct key combination (Windows + Alt + Enter) is being sent by the remote, I think:

2011-12-02 17:01:44.562110 [Debug][(22)]: KeyboardInputPlugin: OnKeyDown: Alt+Win+Enter (1100013), Handled: False
2011-12-02 17:01:44.565110 [Debug][MPMain(1)]: Centarea: Command "91" mapped


However, MediaPortal doesn't open even if I press Windows + ALT + Enter on my keyboard, so I'm sure it's a problem with MPTray, rather than with the remote. Does anyone know what the problem might be?
 

DragonQ

Portal Pro
August 30, 2011
644
79
Home Country
United Kingdom United Kingdom
Well in the end I fixed it by installing "AutoHotkey_L" and replacing the examples in the sample script with the following:

#IfWinNotExist ahk_class WindowsForms10.Window.8.app.0.2004eee
#!Enter::Run C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe
#IfWinActive ahk_class WindowsForms10.Window.8.app.0.2004eee
#!Enter::ControlSend, ,H, ahk_class WindowsForms10.Window.8.app.0.2004eee
#IfWinNotActive ahk_class WindowsForms10.Window.8.app.0.2004eee
#!Enter::WinActivate, ahk_class WindowsForms10.Window.8.app.0.2004eee


Must be a bug with MPTray since this way detects the Alt+Win+Enter key combination fine. :confused:
 

Users who are viewing this thread

Top Bottom