animebook / animebook.github.io

In-browser video player for learning Japanese with subtitles
https://animebook.github.io
MIT License
273 stars 29 forks source link

AutoHotKey #42

Closed TheoHiwo closed 2 years ago

TheoHiwo commented 2 years ago

Hi, I love animebook. It helps me a lot in my learning journey. Thank you very much.

Could it be possible to have animebook at the start of the chrome tab name instead of just the file name? image I'm using autohotkey to bind easy shortcuts on my mouse in most of my programs with an If statement for each window I'm currently using (for example, only Chrome: #IfWinActive, ahk_exe chrome.exe). I would like to bind specific shortcuts specifically when I'm using animebook like: Space "Pause/Play", Enter "Replay caption", Left/Right "Move backward/forward" and so on. But I couldn't find a specific identification for animebook since the name will change depending on what I'm watching. image The reason why I bind on my mouse is to chill with one hand and also be able to use yomichan where Alt is already bound on my mouse when navigating with Chrome to scan kanjis.

soamsy commented 2 years ago

Yeah that'd be fine. Mind if I put it at the end of the tab name though? I like having the episode number (if it can find it) be the first thing visible in the tab so it's easier for me to remember what episode I'm on.

TheoHiwo commented 2 years ago

Yes at the end it's great, I can use $ to tell ahk to look at the end of the name.

soamsy commented 2 years ago

Cool. Updated, so feel free to try it out.

TheoHiwo commented 2 years ago

image Perfect, thank you.