Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 350 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 350 Bytes

pyinputlanguage

Python utility that wraps a couple Carbon functions (TISCreateInputSourceList and TISSelectInputSource) to programmatically switch input languages on macOS.

Requires the PyObjC package.

Usage

from pyinputlanguage import macSwitchInputLanguage
macSwitchInputLanguage("com.apple.inputmethod.Kotoeri.Japanese")