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?
1 Answer
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.
-
Ugh. This isn't working for me. I have the same problem as OP. I got the prompt to install, the prompt to overwrite the existing service, and a dialog saying it's now in the services menu, but no service in Finder. I can create differently named copies of the service that appear in the finder's context menus, but I cannot get the original name to appear, What else can I try?– hepcat72Jul 19, 2020 at 3:25
/Users/$USER/Library/Services/$ServiceName.workflow
file, reboot and then recreating it anew?/S*/L*/F*/C*/F*/L*/S*/lsregister -kill -r -domain local -domain system -domain user; killall Finder