Skip to content

Commit

Permalink
- Add screenshots;
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wang authored and Eric Wang committed Mar 18, 2020
1 parent 1272b41 commit 95ca8d2
Show file tree
Hide file tree
Showing 12 changed files with 78 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.releases
.releases/*
74 changes: 73 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,73 @@
Oh My Alfred!!
# Oh My Alfred!!

---

Alfred awesome workflows.

你值得拥有!

---

# 欧陆快查

Alfred 4 欧陆快查!

## Usage

### 1). 关键词: `eu`

- 打开欧陆:输入 `eu` 回车

![](./screenshots/eudicgo_eu_open.gif)

- 查词:输入 `eu apocalypse` 回车

![](./screenshots/eudicgo_eu_lookup.gif)

### 2). 快捷键:`Shift-Command-E`

选中单词,按快捷键(可根据喜好自行设置),窗口会自动跳转到欧陆词典查询。

![](./screenshots/eudicgo_cse_lookup.gif)

---

# 网易云全局控制

Alfred 4 网易云全局控制!

全局快捷不用记 && 键位冲突不纠结!!

## Usage

### 1). 关键词 `n`

- 启动/打开网易云: 输入 `n` + 回车;
- 退出网易云(正在运行): 输入 `n` + ⌥Option + 回车,此时 Alfred 输入框出现 `quit NeteaseMusic`,再次输入回车退出;

![](./screenshots/neteasemusic_n_open_close.gif)

### 2). `n` + 动作

> 输入 `n` + 关键词,控制网易云播放等,比如输入 `nn` 开始播放下一首。
![](./screenshots/neteasemusic_np_nly.gif)

![](./screenshots/neteasemusic_nn_nl_npre.gif)

### 具体如下:

- 暂停思考人生 `pause`/`p`, [P]ause;
- 下一首更好听 `next`/`n`, [N]ext;
- 上一首再一遍 `previous`/`pr`, [P]revious;
- 加红心 ♥️`like`/`l`, [L]ike;
- 加音量 `volumeup`/`vu`, Volumeup;
- 降音量 `volumedown`/`vd`, Volumedown;
- 开歌词 `lyric`/`ly`, [L]yric;
- 再见了 `quit`/`q`, [Q]uit;

## TODO

- 搜索歌曲;
- 播放 FM;
- 播放日推;
Binary file added screenshots/eudicgo_cse_lookup.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/eudicgo_eu_lookup.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/eudicgo_eu_open.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/neteasemusic_n_open_close.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/neteasemusic_nn_nl_npre.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/neteasemusic_np_nly.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions scripts/neteasemusic_control.scpt
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ else if query is equal to VOLUME_DOWN or query is equal to VOLUME_DOWN_SHORT the
tell application "System Events" to tell process "NeteaseMusic"
click menu item 5 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if query is equal to LIKE or query is equal to LIKE then
else if query is equal to LIKE or query is equal to LIKE_SHORT then
tell application "System Events" to tell process "NeteaseMusic"
click menu item 6 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if query is equal to OPEN_LYRIC or query is equal to OPEN_LYRIC_SHORT then
tell application "System Events" to tell process "NeteaseMusic"
click menu item 9 of menu 1 of menu bar item 4 of menu bar 1
click menu item 10 of menu 1 of menu bar item 4 of menu bar 1
end tell
else if query is equal to QUIT_ or query is equal to QUIT_SHORT then
tell application "Alfred 4" to search "quit NeteaseMusic"
Expand Down
Binary file modified workflows/eudicgo.alfredworkflow
Binary file not shown.
Binary file modified workflows/neteasemusic_global_control.alfredworkflow
Binary file not shown.
2 changes: 1 addition & 1 deletion workflows/neteasemusic_global_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Alfred 4 网易云全局控制!

- 启动/打开网易云: 输入 `n` + 回车;
- 退出网易云(正在运行): 输入 `n` + ⌥Option + 回车,此时 Alfred 输入框出现 `quit
NeteaseMusic`,再次输入回车
NeteaseMusic`,再次输入回车退出

## 2). `n` + 动作

Expand Down

0 comments on commit 95ca8d2

Please sign in to comment.