1.第一步 打开 Automator.app

2. 选择 新建,然后选择 服务

3.服务收到 选择为 没有输入

然后在左边侧栏中双击 Run AppleScript


这样 AppleScript 就写好了,并将其保存为 Open Terminal
只需将脚本中的 tell application "Terminal" 中的 "Terminal" 改为其他的程序名,就可以为其它的程序建立快捷键
5.设置快捷键

我的快捷键还是设置成我在Ubuntu中熟悉的alt + contrl +T。
链接:https://www.zhihu.com/question/20692634/answer/37152883