跳到正文
全部作品

作品 10 / 10

Keyhand — Mac Shortcuts from the Menu Bar

A native macOS menu bar app that presses Mac keyboard shortcuts with one click, for when you remote into your Mac from an iPad or phone. A catalog of 116 shortcuts, a menu you arrange yourself, no network and no dependencies.

类型
个人项目
阶段
已完成,尚未发布
技术栈
Swift · SwiftUI · AppKit · macOS

案例分析

问题,以及我的解决方式。

01 · 挑战

iPadOS and remote apps keep system shortcuts for themselves: ⇧⌘4 screenshots the iPad, not the Mac, and on an Android phone or tablet there is no ⌘ key at all. People end up walking back to the desk or typing on an on-screen keyboard.

02 · 方法

The problem is solved from the Mac side, so it works with any remote app: one click in the menu, and the combination is pressed in the frontmost app. Shortcuts can be composed with clicks, without a Mac keyboard, dangerous keys such as ⌘Q are never sent, and privacy is guarded by tests that fail when network code or a key reader appears outside the one legitimate place.

03 · 技术栈

  • Swift
  • SwiftUI
  • AppKit
  • macOS