Quantcast
Channel: Objective Development Forums
Viewing all articles
Browse latest Browse all 4524

Re: Automator / LB error

$
0
0
jsnyder wrote:There is no such path here in 10.7

I don't know why unless LaunchBar.app is installed somewhere other than the /Applications folder. It definitely exists on my system:

% ls -dl '/Applications/LaunchBar.app/Contents/Library/Automator/Perform Action.action'
drwxr-xr-x@ 3 user  group  102 Jun 28 06:43 /Applications/LaunchBar.app/Contents/Library/Automator/Perform Action.action

but I see now that ~/Library/Application Support/LaunchBar/Actions is empty. So is /Calculator.

They're empty on my system, too.

Following your tip about old PPC versions, I completely uninstalled and reinstalled LB, so it appears that Actions are just not installing.

Normally Automator will automatically find LB's default Actions if they're under the LaunchBar.app/Contents/Library/Automator folder. If not, they could be missing from the Launch Services database. You can check that by running this command in a Terminal window:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -dump | grep 'Perform Action'

You can click SELECT ALL above that line to select it, then Copy, then Paste into Terminal. Expected output:

                  Automator/Perform Action.action/

No output means it's probably a good idea to rebuild the Launch Services database; it could have other missing items and/or corruption. Running this command in Terminal will do that:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Relaunching Finder immediately afterwards may be sufficient but I'd do a system restart just to be thorough.

Note: Doing that can have side effects you might want to be aware of, e.g. certain file types resetting to open with default applications. Some are beneficial, e.g. getting rid of duplicate apps from "Open With…" context menus (the specific reason why I did a LS rebuild yesterday). Third party apps like Onyx can also do it. And a Safe Boot does (on 10.8, at least), plus some other stuff.

A web search for rebuild Launch Services and variations will lead to plenty of info about that topic (with differing degrees of value, but enough so you'll know my suggestion is well intended if you don't trust it :)).

They also do not show up in LB's index.

If they're still missing their after rebuilding the LS database and you get expected output from "… lsregister -dump | grep 'Perform Action'" above I can give you something else to try.

Viewing all articles
Browse latest Browse all 4524

Trending Articles