Release v0.6.49: Viber chat language profiles with local OCR

This commit is contained in:
agrynco committed 2026-11-05 23:52:50 +02:00
1 parent 4e7a683c47
commit 178573233b
15 files changed
+181 -63

No files matched your search

+3
View File
@@ -4,6 +4,8 @@
namespace ks
{
std::wstring cachedViberChat(HWND);
std::wstring recognizeViberChat(HWND, const Settings &);
struct ChatSwitchHook
{
bool pressed[256]{};
@@ -64,6 +66,7 @@ inline std::wstring chatKey(std::wstring process, std::wstring title)
}
inline std::wstring windowChatKey(HWND window)
{
if (window && lower(processName(window)) == L"viber") return cachedViberChat(window);
return window ? chatKey(processName(window), chatTitle(window)) : L"";
}
inline std::vector<std::wstring> chatCycle(const Settings &settings, const std::wstring &key,