Questions tagged [finder-extension]

In OS X, the Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most extension points, Finder Sync does not add features to a host app. Instead, it lets you modify the behavior of the Finder itself.

In OS X, the Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most extension points, Finder Sync does not add features to a host app. Instead, it lets you modify the behavior of the Finder itself.

Finder Sync Extensions

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.

Finder Sync supports apps that synchronize the contents of a local folder with a remote data source. It improves user experience by providing immediate visual feedback directly in the Finder. Badges display the sync state of each item, and contextual menus let users manage folder contents. Custom toolbar buttons can invoke global actions, such as opening a monitored folder or forcing a sync operation.

NOTE

The Finder Sync extension point lets you modify an item’s appearance in the Finder. It does not provide support for syncing the files. You are responsible for creating your own syncing component.

A Finder Sync extension can:

Register a set of folders to monitor. Receive notifications when the user starts or stops browsing the content of a monitored folder. For example, the extension receives notification when the user opens a monitored folder in the Finder or in an Open or Save dialog. Add, remove, and update badges and labels on items in a monitored folder. Display a contextual menu when the user Control-clicks an item inside a monitored folder. Add a custom button to the Finder’s toolbar. Unlike badges and contextual menu items, this button is always available, even when the user is not currently browsing a monitored folder.

More can be read from Apple Documentation.

7 questions
10
votes
0 answers

Is there a way to prevent Finder window from popping up when executing a Mac app action extension?

I recently added a few action extensions to my Mac app. They work fine and I display their UI and progress in a dedicated window. For some reason though, Finder also open a window where it displays the process name and an undefined progress bar and…
OwlOCR
  • 1,127
  • 11
  • 22
3
votes
1 answer

How to create logical groups inside a context menu. Mac OS

I want to create logical groups by separating out the menu items in my sub menu. Similar to the open with sub menu in Mac. How can I achieve this. NSMenuItem Separator Item creates a blank space, I require the visual to be the same as in the…
Sandeep T D S
  • 481
  • 3
  • 15
2
votes
0 answers

In a Cocoa MacOS Application that delivers a Finder Sync extension, can I create a non sandboxed XPC Service, communicate and use it?

In a Cocoa MacOS Application that delivers a Finder Sync extension, can I create a non sandboxed XPC Service, communicate and use it ? If not, what are the options in both the Mac App Store and the independent distribution Scenarios ? So far, I have…
Alfonso Tesauro
  • 1,730
  • 13
  • 21
2
votes
0 answers

OSX Finder Extension does not delete with the application

I am using Finder Extension in my app, it works perfectly. But once user uninstall the app he is still able to see the overlays on Finder. I google and find same issue exists for Dropbox as well, user has to manually unlink the Finder Extension.…
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
1
vote
0 answers

How to remove OS X Extensions from System Preference?

In Mac OS X we have Extensions in System Preferences they are used for Finder & Share. I uninstall the apps but it still remains. How can I remove it once the application is uninstalled? There must be some settings in some file where it is stored,…
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
1
vote
1 answer

How to enable the FinderSync in code

I enable the FinderSync in my Host app with the method introduced by : How to enable FinderSync Extension in the System Preference in Cocoa - Objective C Preference-objective The extension is added in the System Preference but not checked ,…
Tessimle
  • 31
  • 3
0
votes
0 answers

Why is Finder Sync extension working in Debug configuration and not in Release configuration?

I am developing an app using .NET Framework 4.5.2 under Visual Studio for Mac. I have added a Finder Sync extension which shows badges next to specific files when the app is running. I am satisfied with how the extension works when I run the app in…