- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我读过很多类似问题的答案,但都表明它们不再可能。我有 OSX 10.9,并且看到 Dropbox 正在设法做到这一点。
上面的屏幕截图是 Finder 的上下文菜单。如何将菜单项添加到 Finder 的上下文菜单(如上所示)?
最佳答案
虽然是一个老问题,但我最近也遇到了同样的问题,经过一番挖掘,我发现 Dropbox 目前正在使用 Finder Sync,它似乎拥有一个非常适合 Dropbox 功能的功能集。
Dropbox.app
内的
garcon.appex
是基于 appex 包中 Info.plist
内容的 Finder Sync 扩展:
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict/>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.FinderSync</string>
<key>NSExtensionPrincipalClass</key>
<string>EFFinderExtension</string>
</dict>
来自文档:
With a Finder Sync extension you register one or more folders for the system to monitor. Your Finder Sync extension then sets badges, labels, and contextual menus for any items in the monitored folders. You can also use the extension point’s API to add a toolbar button to the Finder window or a sidebar icon for the monitored folder.
关于macos - Dropbox 如何将菜单项添加到 Finder 的上下文菜单?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23161880/
我是一名优秀的程序员,十分优秀!