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?
The following steps solved the problem for me:
- Export the workflow from Automator (e.g. to Desktop).
- Click on the exported workflow. A dialog appears asking whether you want to open it or install it. Choose Install.
- Another dialog appears asking whether you want to overwrite the existing service. Choose Overwrite.
Now the service appears in the proper category.