Page 1 of 1
Applescripts disappear of maintenance scripts
Posted: 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.)
Posted: 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.
Applescripts disappear after running maintenance scripts
Posted: 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.
Posted: 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/Launchbar.app
- Home Scripts: /Users/yourusername/Library/Scripts/
- Library Scritps: /Library/Scripts
Then rescan and you should be fine.