KBMaster is a menu bar app that registers a global hotkey and types a configured text snippet into the active application by synthesizing keyboard events.
- macOS 13+
- Accessibility permission (required for event injection)
- Input Monitoring permission (required for global hotkey handling)
- Open
KBMaster.xcodeprojin Xcode. - Set your signing team in the target settings if needed.
- Build and Run.
- Click the keyboard icon in the menu bar (or the app menu in Debug).
- Open Preferences.
- Add one or more shortcuts, record hotkeys, and set the text to type.
- Optionally enable Start at Login (LaunchAgent).
If typing does not work, grant permissions in:
- System Settings > Privacy & Security > Accessibility
- System Settings > Privacy & Security > Input Monitoring
The preferences window includes buttons to open the relevant settings panes.
KBMaster writes a LaunchAgent plist to:
~/Library/LaunchAgents/com.studio11.kbmaster.plist
Best practice is to keep the app inside /Applications before enabling Start at Login.
- Build and run the app from Xcode.
- Open Preferences and add a shortcut with a hotkey (Cmd+Opt+T) and a short snippet (e.g.,
hello world). - Ensure Accessibility permission is granted.
- Focus a text field in TextEdit.
- Press the hotkey and confirm the text is typed into the field.
- Disable the app and confirm the hotkey no longer types.
- Enable Start at Login and log out/in to confirm the app starts automatically.
KBMaster injects Unicode keystrokes so the typed text is layout-independent. For Microsoft Remote Desktop, set Keyboard Mode to Unicode for reliable typing.
- Hotkey capture:
KBMaster/Modules/Hotkey/ - Config storage:
KBMaster/Modules/Config/ - Typing engine:
KBMaster/Modules/Typing/ - LaunchAgent integration:
KBMaster/Modules/Lifecycle/ - Permissions:
KBMaster/Modules/Permissions/ - Menu bar and preferences UI:
KBMaster/StatusBarController.swift,KBMaster/Preferences/