快捷键、左键辅助、扩展热键、鼠标手势、轮盘菜单、文本指令、上下文,不怕你用不到,就怕你想不到。
但是,太多的调用方式有时也会给用户带来一些选择和管理上的困扰,本人设计了一种动作的调用模式,希望能给大家带来一点参考。
动作
热键接口 https://getquicker.net/sharedaction?code=9c5e9b93-01e4-454a-b33a-08d8f89a044b
这个模式有以下好处:
一次配置,重复使用
常规的设置模式是配置和动作两端跑,先写好动作,再到设置绑定操作。这是一种以配置为主导的使用方法。
一个动作耗费一次配置,而我认为,配置的次数应该是越少越好。
方便管理
扩展热键、左键操作、高级鼠标触发、文本指令…,这些固定的设置要修改起来都不太方便。
但如果是在动作里管理操作只要 复制/剪切/粘贴/删除 就够了,大大减少配置的时间。
方便扩展
在动作里可以对接收到的请求分配相关的操作,你可以分配一些简单的指令,或者进行转发。
我个人认为的最佳体验是根据不同应用分配不同功能,一个步骤组设计一套应用操作,实现一个请求匹配多种应用。
使用方法
- 安装配置包
- 左键辅助:这个无法分享设置,只能自己参考动作参数去设置相应按键(注意参数大小写敏感)
- 高级鼠标触发:
- [{"Id":"18bb6e8e-c149-483d-b91f-b178e2765f2d","MouseActionType":4,"ControlKey":null,"AdornKey":null,"MouseButton":4194304,"DisableInFullScreen":false,"TriggerDistance":0,"Location":0,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\nMButton"},{"Id":"055f8425-2856-4b95-912a-ddbf07c31c53","MouseActionType":4,"ControlKey":null,"AdornKey":null,"MouseButton":8388608,"DisableInFullScreen":false,"TriggerDistance":0,"Location":0,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\nXButton1"},{"Id":"e3a767a3-57db-42eb-be3d-4dd8dda885a4","MouseActionType":4,"ControlKey":null,"AdornKey":null,"MouseButton":16777216,"DisableInFullScreen":false,"TriggerDistance":0,"Location":0,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\nXButton2"},{"Id":"22db6de6-d2ae-479f-9613-04dca2210402","MouseActionType":11,"ControlKey":18,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":0,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\nAlt+向前滚动"},{"Id":"d29a9f3e-4d12-40f3-bbe5-0aac5e03ba6a","MouseActionType":12,"ControlKey":18,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":0,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\nAlt+向后滚动"},{"Id":"1aad1532-3e65-409c-bc58-7f49f24d5f7e","MouseActionType":21,"ControlKey":null,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":2,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\n屏幕右上角"},{"Id":"d92ae04a-fdb5-4d35-ac96-d6c42d7f3a35","MouseActionType":21,"ControlKey":null,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":1,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\n屏幕左上角"},{"Id":"6eed136a-13fa-4623-9801-53cb4491efc5","MouseActionType":21,"ControlKey":null,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":4,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\n屏幕左下角"},{"Id":"2a44ed89-50f9-4ae2-8aa7-7fa5f5f005ce","MouseActionType":21,"ControlKey":null,"AdornKey":null,"MouseButton":null,"DisableInFullScreen":false,"TriggerDistance":0,"Location":8,"LimitOnPrimaryScreen":false,"BlackList":[],"WhiteList":[],"Description":"热键接口","IsEnabled":true,"Operation":4,"TriggerActionWhenMouseUp":false,"LastEditTimeUtc":null,"DebounceMs":0,"ActionType":12,"Data":"热键接口\n屏幕右下角"}]
- 扩展热键:提供了两个按键的配置包,分别为空格和CapsLock
- 配置原理
- 例子:左键辅助
- 把常用的按键(比如数字0~9,英文26个字母)绑定热键接口,并传输热键值给动作:
动作调用
总览:
文本指令:等支持插值传参的时候再整合把。