quicksilver/Quicksilver — pull request #1043 by pjrobertson (2012-08-12 11:23:51+00:00)
Title: Make use of  for actions to filter 3rd pane objects, fixes #620

You can now create an array called `indirectTypes` in a QSAction's .plist.
Works in a similar manner to the existing `directTypes` and `directFileTypes`

Differences include:
You can use QSTypes (e.g. `QSFileType` or `NSFilenamesPboardType`) or UTIs such as `public.folder` or `public.text` or `com.apple.application-bundle` (for applications)
You define all of these in `indirectTypes`, there is no `indirectFileTypes` - the checking is all done in the code, which should make writing actions easier (no need to remember about `indirectFileTypes` for files etc.
I think that `directTypes` and `directFileTypes` should be changed in this way as well, but since all plugins currently use this method we can't really change it.

Folders are also always shown, because you might want to browse into one to find the 'actual' type.
If you want to see ALL objects when browsing into an item, you just hold the option key (⌥) as you would normally do. This might be useful if, for example you are using `Move To...` and want to move a file into a .app bundle (which according to the OS isn't a `public.folder`)

I've updated the main actions in the CorePlugin, including (non-exhaustive list)

Move To... (show folders only)
Copy To... (show folders only)
Always Open With... (show apps only)
Open With... (show apps only)
Make Hard Link in... (- and all other new link actions: folders only)