Applescripts disappear of maintenance scripts

General discussions about LaunchBar
Post Reply

Applescripts disappear of maintenance scripts

Post by pt » Mon Jan 08, 2007 6:55 am

Whenever I run system maintenance scripts (using Onyx, details below), Launchbar seems to lose track of it's Applescripts. What's worse is that I can't seem to figure out where to find them or how to get Launchbar to find them.

Anybody know why, and how to avoid this, or at least how to most easily rectify it after it done (besides reinstalling Launchbar, which is what I do now)? Thanks.

(With Onyx, I usual run it's default tasks: Verify and repair permissions; Execute maintenence scripts; clear caches for system, user, font, and internet; delete logs, recent items, temporary items; and reset Launchservices database.)

Posts: 18
Joined: Sun Dec 24, 2006 6:31 am

Post by AmberV » Mon Jan 08, 2007 2:42 pm

One point I think should be brought up (entirely aside from the issue of LB using scripts) is that quite a few of the functions you listed toward the end are tools meant to fix existing problems in the operating system. They are not really meant to be run periodically on a smoothly operating system. "Fixing" permissions is definitely one of those. That Apple recommends doing that periodically is a complete urban myth. Those maintenance scripts run at intervals which have been optimised for best usage, automatically. Running them manually is redundant. Caches need only be wiped if an application or part of the system is causing problems, and then you generally only need to wipe out a specific cache or set of caches -- I've never seen a situation where the entire cache needs to be eliminated, let alone on a smoothly functioning system.

But, it is your Mac to do what you will with, and if running redundant stuff makes you feel better, have at it. It should be noted though, that some of these tasks are doing nothing but slowing down your system and reducing persistence of data. They could, in some situations, even be causing harm.

Posts: 18
Joined: Mon Jan 08, 2007 6:43 am

Applescripts disappear after running maintenance scripts

Post by pgt » Wed Jan 10, 2007 7:17 pm

AmberV's comments might well be right, but they don't address the immediate issue.

Nobody offered any solutions, so I went ahead and reinstalled LB --over the existing copy of the latest version-- and restarted LB. The LB applescripts didn't reappear, but after I rebooted they are all back (i.e., I can access them with LB).

Curiously, I have searched all over and can not find these scripts so they must be embedded someplace. Presumably, that is related to why there is the problem of the scripts disappearing after running Onyx and I have never noticed any other behavior remotely like this related to other applications.

Seems like a quirk of how LB is built. Somebody must understand what's going on.

Posts: 17
Joined: Mon Nov 27, 2006 9:03 pm

Post by yanokwa » Fri Jan 12, 2007 5:14 am

It may just be easier to delete "Scripts" from your indexing rules. Once you do re-add them by going to New>Applications,Modules,Libraries>Scripts.

Make sure you use the Options tab to specify scope as well.
- LB Scripts: /Applications/
- Home Scripts: /Users/yourusername/Library/Scripts/
- Library Scritps: /Library/Scripts

Then rescan and you should be fine.

Post Reply