1. 打开mac自带的“Automator”,文稿类型选择应用程序:

mac 添加new file.md
mac 添加new file.md

2. 选择:实用工具 -> 运行 AppleScript

mac 添加new file.md

3. 黏贴如下代码到上图的右侧,command + s 保存 到 “应用程序”目录,随便命名即可,这里为:New File,默认图标与“Automator”相同

on run {input, parameters} 
    tell application "Finder"
    set selection to make new file at (get insertion location) 
    end tell 
    
    return input
end run

4. 更换图标:“应用程序” 中右键选择 “New File”,显示简介,点击上方图标,command + v 黏贴任意图标即可...

mac 添加new file.md

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-08-09
  • 2022-12-23
  • 2021-12-02
  • 2022-01-23
  • 2021-10-18
猜你喜欢
  • 2021-12-08
  • 2021-09-19
  • 2022-01-28
  • 2021-07-09
  • 2021-05-25
  • 2021-12-10
相关资源
相似解决方案