周报@2023-02-06 @ Wed, Feb 8, 2023 10:16 AM
周报@2023-02-06 @ Thu, Feb 9, 2023 11:16 AM
Expand 11 lines ...
12
## 效率方面
12
## 效率方面
13
13
14
- [x] [Auto Import + Do not import exactly from](https://powerfulyang.com/post/24#%E4%B8%80%E4%BA%9B%E8%AE%BE%E7%BD%AE%E7%9B%B8%E5%85%B3) 的搭配真的很爽。
14
- [x] [Auto Import + Do not import exactly from](https://powerfulyang.com/post/24#%E4%B8%80%E4%BA%9B%E8%AE%BE%E7%BD%AE%E7%9B%B8%E5%85%B3) 的搭配真的很爽。
15
+
- [x] [raycast](https://www.raycast.com/) 搭配 [macOCR](https://github.com/schappim/macOCR) 实现快速 OCR
16
+
    + 打开 Raycast, 进入 Settings -> Extensions
17
+
    + 选择 `Scripts` tab, Add Directories, 选择目录
18
+
    + 进入目录新建 ocr.sh 文件, 将以下内容写入 ocr.sh 文件
19
+
        ```bash
20
+
        #!/bin/bash
21
+
        # Dependency: requires macOCR
22
+
        # Download: https://github.com/schappim/macOCR
23
+
24
+
        # @raycast.schemaVersion 1
25
+
        # @raycast.title macOCR
26
+
        # @raycast.mode silent
27
+
        # @raycast.author powerfulyang
28
+
        # @raycast.authorURL https://github.com/powerfulyang
29
+
        # @raycast.description Get any text on your screen into your clipboard
30
+
        # @raycast.packageName macOCR
31
+
        # @raycast.icon 📸
32
+
33
+
        ocr -l zh-Hans
34
+
        ```
35
+
    + 回到 Raycast 设置自己喜欢的 Hotkey, 完事
36
+
15
## 有趣的东西
37
## 有趣的东西
16
38
17
- [ ] [当···时发生了什么?](https://github.com/skyline75489/what-happens-when-zh_CN)
39
- [ ] [当···时发生了什么?](https://github.com/skyline75489/what-happens-when-zh_CN)
Expand 15 lines ...