I'm making a Finder plugin but when I ask for the selected files the method only give me 10 items at most.
[FIFinderSyncController defaultController].selectedItemURLs
UPDATE: I got it half solved... I'm using ScriptingBridge to access Finder and get the selected items of the frontmost window. (sandbox requires: com.apple.security.temporary-exception.apple-events). The weird thing is that the context menu appears after a short time even if your application menu is 'cooking' its items to show. Your items appear after you've done creating them anyway. The only problem is that the ScriptingBridge will not execute if there is a context menu or modal object inside Finder window. It finishes executing only if you dismiss the menu. I can only get selected items inside the menuForMenuKind using FIFinderSyncController, but I can get all items after I trigger a menu action using ScriptingBridge. It is important for my application to know what items I have selected before showing the menu with the corresponding actions, but I'll have to be happy with this solution for now.