INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [Script] Rating outside of JRiver [System wide Hotkey]  (Read 3143 times)

defenz0r

  • Guest
[Script] Rating outside of JRiver [System wide Hotkey]
« on: June 22, 2016, 05:20:02 pm »

Hi,

because JRiver cant handle Hotkeys while not in Focus i did a smart Workaround in https://autohotkey.com.
It works outside and is tested on Windows 10 x64

$F4::ExitApp
$!1::
ToolTip, Rating 1 ; Will show
SetTimer, RemoveToolTip, 5000
ControlSend, ,$^+1, ahk_class MJFrame
return
$!2::
ToolTip, Rating 2 ; Will show
SetTimer, RemoveToolTip, 5000
ControlSend, ,$^+2, ahk_class MJFrame
return
$!3::
ToolTip, Rating 3 ; Will show
SetTimer, RemoveToolTip, 5000
ControlSend, ,$^+3, ahk_class MJFrame
return
$!4::
ToolTip, Rating 4 ; Will show
SetTimer, RemoveToolTip, 5000
ControlSend, ,$^+4, ahk_class MJFrame
return
$!5::
ToolTip, Rating 5 ; Will show
SetTimer, RemoveToolTip, 5000
ControlSend, ,$^+5, ahk_class MJFrame
return

RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return



Usage
Alt+1 = Rating 1
Alt+2 = Rating 2
Alt+3 = Rating 3
Alt+4 = Rating 4
Alt+5 = Rating 5
F4=Exit
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: [Script] Rating outside of JRiver [Global Hotkey]
« Reply #1 on: June 22, 2016, 05:34:11 pm »

Logged

defenz0r

  • Guest
Re: [Script] Rating outside of JRiver [Global Hotkey]
« Reply #2 on: June 22, 2016, 05:36:00 pm »

Updated

Working XML
http://pastebin.com/s1vAfTRT

Alt+1 = Rating 1
Alt+2 = Rating 2
Alt+3 = Rating 3
Alt+4 = Rating 4
Alt+5 = Rating 5

J River\Media Center 21\Data\Custom Resources\Resource.xml
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: [Script] Rating outside of JRiver [Global Hotkey]
« Reply #3 on: June 22, 2016, 05:39:43 pm »

You need to add Global="1" to your hotkeys. Take a look at the default Resources.xml.
Logged

defenz0r

  • Guest
Re: [Script] Rating outside of JRiver [System wide Hotkey]
« Reply #4 on: June 22, 2016, 05:43:26 pm »

Thanks. Does work.
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: [Script] Rating outside of JRiver [System wide Hotkey]
« Reply #5 on: June 22, 2016, 05:49:25 pm »

Interesting.  I thought Global must mean something other than what it means because it doesn't work on Mac.  I guess it's just another difference between MC on Windows and Mac.  Nice to know it works with Windows I guess.

Brian.
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: [Script] Rating outside of JRiver [System wide Hotkey]
« Reply #6 on: June 24, 2016, 05:49:38 am »

Great tip, thanks for this...
Logged
Pages: [1]   Go Up