I have a program that works with a variety of files on both the Windows and Mac OS.
我有一个程序可以在Windows和Mac OS上使用各种文件。
I would like to give the user the option of adding a new option to their right click/control click context menu to the effect of "Compress with [Name of App]".
我想让用户可以选择在他们的右键单击/控制点击上下文菜单中添加一个新选项,效果为“Compress with [App of App]”。
I know this is quite possible in Windows with modifications to the registry, but is there a way to achieve this for the Mac? Perhaps using C++ or objective C?
我知道在Windows中修改注册表很有可能,但有没有办法在Mac上实现这一点?也许使用C ++或Objective C?
2 个解决方案
#1
6
Yes, you can. You need to make a contextual menu plugin. Apple has contextual menu plugin sample code on its developer site.
是的你可以。您需要创建一个上下文菜单插件。 Apple在其开发者网站上有上下文菜单插件示例代码。
#1
6
Yes, you can. You need to make a contextual menu plugin. Apple has contextual menu plugin sample code on its developer site.
是的你可以。您需要创建一个上下文菜单插件。 Apple在其开发者网站上有上下文菜单插件示例代码。