Open Tag Folders

There is no tag to open. You can only access them via a smart-search in the Finder – or some other app that is tag-savvy.

You can access Spotlight from the Terminal, so you can search for tagged items with Keyboard Maestro and then display names or paths using a Execute a Shell Script action and mdfind.

The code would be something like this:

mdfind -onlyin / 'kMDItemUserTags == "Current"cd'

You could also have Keyboard Maestro type:

  • Space – To open a global Spotlight search window in the Finder.
  • Then Tag:Current – in the already selected search field.

There's also a tricky way to create a saved search and then cause it to open with AppleScript, but I haven't tested it in years and don't have time to mess with it at present. Take a look at this:

Open a Smart Folder in Finder - #4 by ccstone

-Chris