A simple priority-changing AppleScript

Jan 19, '02 09:48:46AM

Contributed by: schuss

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 -1
to get the pid. Is there a better way?

[Editor's note: I downloaded and tested this script, and it does exactly what it states - you get a list of all running processes, click the one you wish to change, set the priority level you want, and say OK.]

Comments (18)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020119094846563