Usage
- Enter a keyboard shortcut description in the text field (e.g., "command plus shift plus n")
- The app will automatically convert it to the symbolic representation (e.g., "⌘ + ⇧ + n")
- Click the "Copy" button to copy the result to your clipboard
Note: The word "plus" is automatically ignored in the parsing process. It is treated as a separator between keyboard shortcut components rather than as part of the shortcut itself. For example, "command plus shift plus n" will be converted to "⌘ + ⇧ + n", ignoring the word "plus" in the output.
Supported Modifiers
- command or cmd: Converts to ⌘
- option or opt or alt: Converts to ⌥
- control or ctrl: Converts to ⌃
- shift: Converts to ⇧
System Requirements
- macOS: macOS 13.0 or later
- iOS: iOS 16.0 or later
Technology
MacKeys is built using:
- SwiftUI for the user interface
- SwiftParsec for text parsing
- Platform-specific clipboard handling (UIKit on iOS, AppKit on macOS)
How It Works
MacKeys uses a specialized parser to identify keyboard shortcut components in plain text. When you enter a keyboard shortcut description, the app:
- Tokenizes your input text
- Identifies keyboard modifier keys and converts them to their symbolic representations
- Preserves other characters and combines everything into the final output
- Allows easy copying of the symbolic representation to your clipboard
Examples
Text Input | Symbolic Output |
---|---|
command plus n | ⌘ + n |
option shift plus 8 | ⌥ + ⇧ + 8 |
control command option | ⌃ + ⌘ + ⌥ |