我试图通过Automator在Sublime Text 2服务中打开。Sublime Text 2服务
- 运行的Automator
- 添加新的服务
- 添加 “运行shell脚本”
- 设置壳牌
/bin/zsh
- 输入的命令行:
我做这个:
/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl -n [email protected]
- 将“服务接收选中”设置为“文件或文件夹”
- 单击保存
截图:
但是,每当我试图打开通过文件夹,右键 - >服务>“打开在崇高”,打开一个新的ST2窗口但使用随机命名的文本文件(即subl stdin N188RN.txt),它的输出是打开文件夹的路径(即:/ Users/me/Desktop/project)。
截图:
有没有一种方法,我可以修改的Automator命令行来解决这一问题?
非常简单。谢谢。 – tr3online