【问题标题】:How to add context menu to Finder to run a shell script如何将上下文菜单添加到 Finder 以运行 shell 脚本
【发布时间】:2012-02-10 03:05:12
【问题描述】:

我有一个带有两个参数的 shell 脚本,1) 完整文件路径 2) 文件名。 如何使用 Automator 将上下文菜单添加到 Finder 以运行带有所选文件路径和文件名作为参数的 shell 脚本。

【问题讨论】:

标签: macos shell automator


【解决方案1】:

在 Automator 中创建一个新服务,然后选择 Run Shell Script 并保存您的服务。这就对了。 您也可以阅读下一篇文章Mac OS X services with Automator and shell scripting

【讨论】:

    猜你喜欢
    • 2011-05-12
    • 2014-06-03
    • 2011-09-21
    • 1970-01-01
    • 2013-01-09
    • 1970-01-01
    • 2020-09-03
    • 1970-01-01
    • 2010-09-27
    相关资源
    最近更新 更多