Refreshing the category of an Automator service

automatorservices

I'm trying to use Automator to create a simple service (open selected file in MacVim). Originally I (incorrectly) specified that the service accepts selected text as input. I have changed it later to accept selected files or folders but it is stuck in Service preferences under Text and not under Files and Folders, and also does not appear in Finder. Is there some way to refresh/reload the category of a service?

Best Answer

The following steps solved the problem for me:

  1. Export the workflow from Automator (e.g. to Desktop).
  2. Click on the exported workflow. A dialog appears asking whether you want to open it or install it. Choose Install.
  3. Another dialog appears asking whether you want to overwrite the existing service. Choose Overwrite.

Now the service appears in the proper category.