Changes the layout of selected text to the opposite one and additionally changes the keyboard layout to a target one using MacOS built-in capabilities.
Supported keyboard layouts:
Limitations:
getSelectedText
function will return the whole line instead of selection and the switched layout text will appear right after the cursorRecommended Hotkey: Option+Option (To apply, just hit the Option button 2 times)
The project was inspired by PuntoSwitcher by Yandex