INTERACT FORUM

Please login or register.

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

Author Topic: Making keyboard shortcut to toggle subtitles  (Read 478 times)

flac.rules

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1268
Making keyboard shortcut to toggle subtitles
« on: September 29, 2021, 02:23:16 am »

I use a remote to control MC, and I want toggle english subtitles with it, I guess the easiest way is to make a keyboard shortcut and then use AHK to send that keyboard shortcut on the press of a specific button. I didn't fint a short cut for this but i did find some MCC-commands

10052 MCC_SET_SUBTITLES int nIndex (-1 toggles forward, -2 toggles backwards)
28032 MCC_PLAYBACK_ENGINE_SET_SUBTITLES   int nIndex (-1 toggles forward, -2 toggles backwards, -3 to browse for subtitles)

Not sure which of these are the best though, as a general rule i would like it to choose english subs, but it seems like i hust have to guess that English subs are first in the list? And ideally i would like the shortcut to turn them off if they are already on.

So i guess where I am stuck is:

1. Is going via the MCC commands the "right way" to attack the problem?
2. How do i make a custom shortcut that runs a MCC command?

Logged
Pages: [1]   Go Up