添加脚本到MacOS的取景器上下文菜单 [英] Adding a script to MacOS finder contextual menu

查看:167
本文介绍了添加脚本到MacOS的取景器上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要一个选项添加到调用汞添加%1 %1是在Finder中选定的文件的完整路径。结果取景器上下文菜单
当然还有更多有用的情况下,我能想到的,添加到右键菜单。结果
有一个简单的办法做到这一点不涉及安装任何第三方软件或编译语言编码和构建二进制插件吗?结果
像脚本编辑器创建脚本并删除它 /库/上下文菜单项/

I want to add an option to the finder context menu that calls hg add %1 with %1 being the full path of the selected file in finder.
Of course there are more useful cases I can think of, to add to the context menu.
Is there a simple way to do that which doesn't involve installing any 3rd party software or coding in a compiled language and building binary plugins?
Like creating a script with the script editor and dropping it in /Library/Contextual Menu Items/ ?

推荐答案

是的,我知道这是第三方软件 - 但一个更全面的概述的缘故 - 的 HTTP://www.abra$c$c.com/free/cmworkshop/on_my_command.html 。另一种工具,它使你的脚本编写更容易为 http://wafflesoftware.net/thisservice/ 将项目添加到服务菜单。

Yeah, I know this is third party software - but for the sake of a fuller overview - http://www.abracode.com/free/cmworkshop/on_my_command.html. Another tool that would make your script writing easier is http://wafflesoftware.net/thisservice/ adding items to the service menu.

这篇关于添加脚本到MacOS的取景器上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆