title: OS X Mavericks: How to synchronously invoke Finder's 'Tags...' editor from a script
body: <p>I am developing an automator action that gets invoked by a hotkey from Finder. In this action the user shall (interactively) edit the tags of the Finder selection (screenshot), which is then post-processed by my action: </p>
  
  <pre><code>on FILES=&lt;Finder selection&gt;
  open 'Tags...' overlay window
  wait until 'Tags...' overlay window is closed
  process FILES (by shell script, apple script, whatever)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/T7RGF.png" alt="enter image description here"></p>
  
  <p>While I can trick (more or less successful) Finder by UI scripting or other hacks into showing the 'Tags...' overlay, I have no clue how to wait until it is finished. (Waiting for a file change is not an option, as the user may also cancel the tag editing.) </p>
  
  <p>Or maybe there is any other file tag editor available I could use for the purpose? For OpenMeta tags I would use <a href="http://hasseg.org/tagger/" rel="nofollow noreferrer">Tagger</a>, but AFAIK this does not support Mavericks tags.</p>