This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires AutoHotkey v2 | |
| ; Инициализация Map для сопоставления символов с английской раскладки на русскую | |
| engToRus := Map() | |
| engToRus.Set("q", "й") | |
| engToRus.Set("w", "ц") | |
| engToRus.Set("e", "у") | |
| engToRus.Set("r", "к") | |
| engToRus.Set("t", "е") | |
| engToRus.Set("y", "н") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function changeReg(str, register, firstInvert){ | |
| newStr = ''; | |
| upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
| lower = "abcdefghijklmnopqrstuvwxyz"; | |
| lowerToUpper = {}; | |
| upperToLower = {}; |