默认快捷键 yd
,查看翻译结果。
回车
复制Control ⌃+回车
打开有道翻译页面Command ⌘+回车
直接在打出翻译结果Shift ⇧+回车
直接发音Option ⌥
进行翻译(需要另行设置)yd *
显示历史查询记录Alt+回车
, 同步单词到有道在线单词本Python 3 版本 - 感谢 Pid
Shift ⇧+回车
Control ⌃+回车
Command ⌘+回车
Option ⌥
Alt+回车
分别在username
, password
中输入有道的用户名和密码。
在filepath
中输入有道单词本离线保存的位置,默认在~/Documents
中。
查询单词后按 Alt+回车
将单词保存到有道词典的单词本,在保存失败的时候单词将保存在离线单词本中。
关键字 | 说明 | 默认 |
---|---|---|
username | 有道在线单词本用户名 | |
password | 有道在线单词本密码 | |
filepath | 有道离线单词本保存位置 | ~/Documents/Alfred-youdao-wordbook.xml |
youdao_key | 老版有道翻译Key | |
youdao_keyfrom | 老版有道翻译Keyfrom | |
zhiyun_id | 有道智云ID | |
zhiyun_key | 有道智云Key |
1 . macOS Catalina 需要在 系统设置-安全性与隐私-辅助功能,重新授权Alfred 4
权限。
更多问题参见Alfred 有道翻译简介
Copyright (c) 2015
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.