Wednesday, April 20, 2011

microsoft media center skip back and forward without active window focus

Autohotkey script to skip back and forward in MCE without window focus.

; mce.ahk
#SingleInstance Force
Media_Next::
WinGet, active_id, ID, A
WinActivate, ahk_class eHome Render Window
Send ^f
WinActivate, ahk_id %active_id%
return
Media_Prev::
WinGet, active_id, ID, A
WinActivate, ahk_class eHome Render Window
Send ^b
WinActivate, ahk_id %active_id%
return

No comments:

Post a Comment