How to automatically show the deck name I'm currently browsing in the window title bar of the browser?

I’d like to create an Autohotkey script contains many hotstrings for different languages (English, French, Dutch)
e.g :
In English
::proj::project

In French
::proj::projet

In Dutch
::proj::projekt

I want these hotstrings, variants depending on the Current deck I’m currently browsing in the Anki Browser(deck:English,deck:French,deck:Dutch).

I intend to solve this problem by automatically show the name of the deck I’m currently browsing in the window title bar of the browser then I define context-sensitive Hotkeys to make the hotstrings send different strings depending on each window title (Deck name I’m currently browsing in the Browser),
Because the default window title of the Browser is Always “Browse”.
e.g :

#If WinActive("English ahk_exe anki.exe")

::proj::project

#If

#If WinActive("French ahk_exe anki.exe")

::proj::projet

#If

Just like this add-on does But not with the window reviewing rather when we are in the window browser and we want to edit some cards in the internal editor of the browser :
https://ankiweb.net/shared/info/699175524
This is an image of the Anki Browser e.g :
Example

Does anybody have a better idea or other suggestions or Add-on or AHk script to do so?

I’m not aware of an add-on that does that, but the idea is interesting and it should be relatively simple to write.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.