Post

Replies

Boosts

Views

Activity

FinderSync extension not playing nice with other Finder extensions and folders
We have created a Menu App that has a FinderSync extension to provide contextual menus in certain folders. This works as expected, and adds the additional menus for just the selected folders. This is accomplished by watching the desired folders: finderController.directoryURLs = urlFolders and creating a MenuKind menu item for type: .contextualMenuForItems: However, it seems to not play nice and occasionally replaces the folder icons with the apps icon and removes contextual functionality for other extensions. For Box, it will remove the contextual menu items and the badge icons, as well as replace the folder icon in the Finder sidebar and any application Open/Save Dialog boxes. For Dropbox and GoogleDrive, it will just replace the folder icons in the sidebar and dialog windows, but doesn't stop their extensions from working. Any suggestions on how to keep our FinderSync extension from having these adverse impacts? I notice that GoogleDrive's contextual menu shows up in Dropbox folders, so I know that a folder can be watched by more than one extension.
3
0
1.4k
Sep ’21
Dynamic menu text in NSApplication ServiceProvider contextual menu?
I'm adding a ServiceProvider menu for my MacOS application to show up when right-clicking on a file or folder in the Finder. I'd like the text of the contextual menu to be updated based upon the file/folder being selected. With ServiceProvider, the text of the menu is set in the info.plist file, and I haven't found a way to change it after the fact. I'm not using FinderSync or FileProvider for specific reasons, but it was the original route I chose. Which did let me dynamically change the text. Is it possible to dynamically change the menu text with ServiceProvider?
0
0
332
Jul ’23