Add AirDrop as a Mouse Button Action
Problem | 问题背景
Mos currently allows users to bind mouse buttons to many macOS actions, such as Mission Control, application/window actions, system functions, screenshots, navigation, and custom actions.
However, there is currently no convenient way to bind a mouse button directly to AirDrop.
For users who frequently transfer files between a Mac, iPhone, or iPad, AirDrop is used very often. At the moment, sharing a selected file through AirDrop usually requires several steps in Finder, such as right-clicking the file, opening the Share menu, and then selecting AirDrop.
It would be very convenient if Mos could allow a mouse button, such as a side button or middle button, to trigger AirDrop directly.
Mos 目前已经支持将鼠标按键绑定到调度中心、应用与窗口、系统功能、截图、导航以及自定义操作等 macOS 功能。
但是,目前似乎还不能直接将鼠标按键绑定到 隔空投送(AirDrop)。
对于经常在 Mac、iPhone 和 iPad 之间传输文件的用户来说,隔空投送是一个使用频率很高的功能。现在如果要将 Finder 中选中的文件通过 AirDrop 发送,通常需要右键文件 → 分享 → 隔空投送等多个步骤。
如果 Mos 可以允许用户直接通过鼠标侧键、中键或其他按键触发 AirDrop,会显著提升文件传输效率。
Proposed Solution | 期望方案
Add an AirDrop action to the mouse button action list in Mos.
Ideally, the behavior could be:
- When one or more files are selected in Finder, pressing the assigned mouse button directly opens the AirDrop sharing interface for the selected files.
- If no file is selected, the button could simply open the AirDrop interface/window.
For example:
Mouse Side Button → AirDrop
This action could be added under System Functions, Applications & Windows, or a new Sharing category.
希望 Mos 在鼠标按键的可选操作中增加一个 “隔空投送 / AirDrop” 操作。
理想情况下:
- 当 Finder 中已经选中一个或多个文件时,按下绑定的鼠标按键,可以直接针对当前文件调出 AirDrop 分享界面。
- 如果当前没有选中文件,则可以直接打开 AirDrop 界面。
例如:
鼠标侧键 → 隔空投送
该功能可以放在 「系统功能」、「应用与窗口」,或者新增一个 「分享」 分类中。
Alternatives Considered | 备选方案
Currently, this can partially be achieved through macOS Shortcuts, Finder actions, custom keyboard shortcuts, or other automation tools.
However, these solutions require additional configuration and are less intuitive than having AirDrop available directly as a native Mos mouse-button action.
目前可以通过 macOS 快捷指令、Finder 操作、自定义快捷键或者其他自动化工具间接实现类似效果。
但这些方案需要额外配置。如果 Mos 能原生提供 AirDrop 按键操作,会更加简单、直观,也更符合 Mos 现有的鼠标按键自定义逻辑。
Scope | 范围
- [ ] Small bug fix or polish | 小范围修复或体验优化
- [ ] Documentation / localization | 文档或本地化
- [x] Existing feature improvement | 现有功能改进
- [ ] Larger feature or module | 较大的新增功能或模块
Large new features, modules, or architectural rewrites should start in [Discussions](https://github.com/Caldis/Mos/discussions) before a pull request.
较大的新增功能、模块或架构调整,请先在 [Discussions](https://github.com/Caldis/Mos/discussions) 中发起讨论。
Environment | 环境信息
- Mos version | Mos 版本:
- macOS version | macOS 版本:
- Mouse / trackpad model, if relevant | 相关鼠标 / 触控板型号:
- Affected application, if relevant | 相关应用: Finder
Additional Context | 额外说明
The attached screenshot shows the current mouse button action selection interface in Mos. I would like AirDrop to be available as one of the selectable actions in this menu.
附件截图展示了 Mos 当前的鼠标按键操作选择界面。希望可以在这个菜单中增加 「隔空投送 / AirDrop」 作为可绑定的操作。