Well, i'm glad I'm not the
only one here who knows about the nice and renice commands...
Now, there is a problem with distributing this kind of software to people who don't understand how it works. I've said the same about the "theme" installer tools (because I used to make themes) and that those tools are not to be trusted. Result? Many people have had to reinstall their system because the end user didn't know what the (unintelligent) installer did.
But I digress.
The problem with
this little tool is that you may give too much priority to an app. Yes, OSX has all those protective goodies, but I
always try to imagine worst-case scenarious when evaluating system "hacks" like this. What kinds of problems can I imagine? Well, nothing
too dangerous, but this can sap away CPU usage from other apps. In the case of a bug in the window manager (or finder or dock), if it has the highest priority, it may completely hog your CPU leaving you stranded. It's fine that the default in this script is -15. IMO, you should never set a priority to -20. In fact, you really shouldn't need to set things farther than -10 since most are 0 by default.
Anyway, I guess if you don't want to use the terminal, this script does its job.
btw, what is a "renice" script anyway?
Just look in the included code. It simply opens the terminal and executes these commands:
sudo renice -15 -p `ps -ax | grep WindowServer | cut -c1-5 | sort | head -1`
sudo renice -15 -p `ps -ax | grep Finder | cut -c1-5 | sort | head -1`
sudo renice -15 -p `ps -ax | grep Dock | cut -c1-5 | sort | head -1`