This Change Priority AppleScript allows you to easily set the priority of any running application via a simple GUI. I built it based on the many previous priority-related hints, and would appreciate any suggestions.
I use
ps -axww | /usr/bin/grep '[/]APPNAME'| awk '{print $1}' | head -1to get the pid. Is there a better way?
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020119094846563