{"id":27153634,"url":"https://github.com/abakum/enru","last_synced_at":"2025-04-08T16:17:51.523Z","repository":{"id":200942847,"uuid":"706565405","full_name":"abakum/EnRu","owner":"abakum","description":"Another global keyboard layout switch by clicking the left or right Ctrl key","archived":false,"fork":false,"pushed_at":"2023-11-04T12:07:23.000Z","size":6396,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-04T13:20:55.203Z","etag":null,"topics":["autohotkey-v2","consolewindowclass","en-us","ffmpeg","getforegroundwindow","getkeyboardlayout","getwindow","getwindowthreadprocessid","icon","keyboard-layout","keyboard-shortcuts","loadkeyboardlayout","postmessage","ru-ru","setforegroundwindow","shell-traywnd","uvnc","vs-code","wm-inputlangchangerequest"],"latest_commit_sha":null,"homepage":"","language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abakum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-18T07:46:52.000Z","updated_at":"2023-11-04T13:21:01.664Z","dependencies_parsed_at":"2023-10-23T11:38:15.083Z","dependency_job_id":"735d4dc5-8a48-47ac-b5c1-3fa8421e18a4","html_url":"https://github.com/abakum/EnRu","commit_stats":null,"previous_names":["abakum/enru"],"tags_count":14,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abakum%2FEnRu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abakum%2FEnRu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abakum%2FEnRu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abakum%2FEnRu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abakum","download_url":"https://codeload.github.com/abakum/EnRu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247877974,"owners_count":21011158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autohotkey-v2","consolewindowclass","en-us","ffmpeg","getforegroundwindow","getkeyboardlayout","getwindow","getwindowthreadprocessid","icon","keyboard-layout","keyboard-shortcuts","loadkeyboardlayout","postmessage","ru-ru","setforegroundwindow","shell-traywnd","uvnc","vs-code","wm-inputlangchangerequest"],"created_at":"2025-04-08T16:17:50.937Z","updated_at":"2025-04-08T16:17:51.515Z","avatar_url":"https://github.com/abakum.png","language":"AutoHotkey","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EnRu\nAnother global keyboard layout switch by clicking the left or right `Ctrl` key\u003cbr\u003e\nЕще один глобальный переключатель раскладки клавиатуры щелчком левой или правой клавиши `Ctrl`\n\n## Credits - благодарности:\n- Rudi De Vos, Sam Liarfo, Ludovic Bocquet - for [UltraVNC](https://uvnc.com/downloads/ultravnc.html)![UltraVNC](uvnc.png)![winvnc](winvnc.png)\n- Joe DF - for [AutoHotkey](https://github.com/AutoHotkey/AutoHotkey/releases)![ahk](ahk.png)\n- GA, ТС - for [FFmpeg](https://ffmpeg.org/download.html)![FFmpeg](FFmpeg.png)\n- Microsoft - for [VS Code](https://code.visualstudio.com/Download)![VS Code](VScode.png)\n\n## Install - установка:\n- `git clone https://github.com/abakum/EnRu.git` [![EnRu](0.ico)](https://github.com/abakum/EnRu.git)\n- [download](https://github.com/AutoHotkey/AutoHotkey/releases) \u0026 install [AutoHotkey](https://github.com/AutoHotkey/AutoHotkey/releases)![ahk](ahk.png)\n- run `EnRu.ahk` or `a2e.bat`\n\n## Usage - использование:\n- Press and release the left `Ctrl` key to switch the keyboard layout to `en_US`![en_US](1.ico).\u003cbr\u003e\nНажми и отпусти левую клавишу `Ctrl` чтоб переключить раскладку клавиатуры на `en_US`![en_US](1.ico).\n- Press and release the right `Ctrl` key to switch the keyboard layout to `ru_Ru`![ru_Ru](2.ico), but if the [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html) window is active, the local keyboard layout will be `en_US`![en_US](1.ico).\u003cbr\u003e\nНажми и отпусти правую клавишу `Ctrl` чтоб переключить раскладку клавиатуры на `ru_Ru`![ru_Ru](2.ico), но если активно окно с [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html) то раскладка локальной клавиатуры будет `en_US`![en_US](1.ico).\n- You can switch the keyboard layout with the mouse by right-clicking on the tray icon.\u003cbr\u003e\nМожно переключить раскладку клавиатуры мышкой через правый клик на иконке в трэе.\n- If you make the window with [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html) active then after 2 seconds or earlier, the layout of the local keyboard will switch to `en_US`![en_US](1.ico).\u003cbr\u003e\nЕсли сделать активным окно с [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html) то через 2 секунды или раньше раскладка локальной клавиатуры переключится `en_US`![en_US](1.ico).\n- If you switch the keyboard layout not via [![EnRu](0.ico)](https://github.com/abakum/EnRu.git) then after 2 seconds or earlier, the icon in the tray will change accordingly.\u003cbr\u003e\nЕсли переключить раскладку клавиатуры не через [![EnRu](0.ico)](https://github.com/abakum/EnRu.git) то через 2 секунды или раньше иконка в трэе изменится соответственно.\n\n## Story of creation - история создания:\n\n- Previously, whichever VNC-server![vnc](vnc.png) I used, I used only [RealVNC's](https://www.realvnc.com/en/connect/download/viewer/)![RealVNC](RealVNC.png) VNC-viewer. It would send `Alt-TAB` to the VNC-server and allow me to switch keyboard layouts if the same keyboard layout switcher was set on both VNC computers.\u003cbr\u003e\nРаньше какой бы VNC-сервер![vnc](vnc.png) я не использовал пользовался только VNC-вьювером от [RealVNC](https://www.realvnc.com/en/connect/download/viewer/)![RealVNC](RealVNC.png)\nОн передавал VNC-серверу `Alt-TAB` и позволял переключать раскладку клавиатур когда на обеих компьютерах с VNC стоял один и тот же переключатель раскладок клавиатур.\n\n - But in the [ngrokVNC](http://github.com/abakum/ngrokVNC)![ngrokVNC](ngrokVNC.png) project I had to use the encryption plugin and [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html), which, when `ScrollLock` is enabled, can transmit `Alt-TAB` to the [UltrVNC-server](https://uvnc.com/docs/uvnc-server.html)![winvnc](winvnc.png), but it was necessary to have `en_US`![en_US](1.ico) layout on the [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html) and `ru_Ru`![ru_Ru](2.ico) layout on the [![winvnc](winvnc.png)](https://uvnc.com/docs/uvnc-server.html) to transmit cyrillics.\u003cbr\u003e\nНо в проекте [ngrokVNC](http://github.com/abakum/ngrokVNC)![ngrokVNC](ngrokVNC.png) потребовалось использовать плагин шифрования и [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html), который при включении `ScrollLock` может передавать `Alt-TAB` на [VNC-сервер](https://uvnc.com/docs/uvnc-server.html)![winvnc](winvnc.png), но для передачи кириллицы нужно чтоб на [![UltraVNC](uvnc.png)](https://uvnc.com/docs/uvnc-viewer/71-viewer-gui.html)  была расскладка `en_US`![en_US](1.ico) а на [![winvnc](winvnc.png)](https://uvnc.com/docs/uvnc-server.html) `ru_Ru`![ru_Ru](2.ico)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabakum%2Fenru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabakum%2Fenru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabakum%2Fenru/lists"}