0
我有一個shell腳本需要兩個參數,1)完整文件路徑2)文件名。 如何使用Automator向Finder添加上下文菜單,以選定的文件路徑和文件名作爲參數運行shell腳本。如何將上下文菜單添加到Finder以運行shell腳本
我有一個shell腳本需要兩個參數,1)完整文件路徑2)文件名。 如何使用Automator向Finder添加上下文菜單,以選定的文件路徑和文件名作爲參數運行shell腳本。如何將上下文菜單添加到Finder以運行shell腳本
在Automator中創建一個新服務,然後選擇運行Shell腳本並保存您的服務。這就對了。 您也可以閱讀下一篇文章Mac OS X services with Automator and shell scripting
我發現另一個項目可能會滿足您的需要: - http://stackoverflow.com/questions/4215287/adding-a-script-to-macos-finder-contextual-menu/ 12584114#12584114 – 2015-10-30 16:04:35