Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'i think this should do' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
i think this should do
Authored by: brett_ on Jan 18, '02 02:38:12PM
again, i used applescript -- and no need to use sudo visudo.
tell application "Terminal" do script with command "'/Applications/Games/Quake3/Quake3.app/Contents /MacOS/Quake3' +set fs_game q3ut2" do shell script "ps -ax | grep Quake3 | grep -v grep" do shell script "renice -20 -p `ps -ax | grep Quake3 | grep -v grep | cut -c1-5`" password "youradminpassword" with administrator privileges end tell
(the lines "tell" "do" & "end" are single lines, all others have been broken.) to get this script to work, just plug in your adminpassword, your path to q3a, & set your desired mod acronym. save as run-only to protect your password from prying eyes. this may not be the cleanest script, but it works. please suggest improvements. brett.

[ Reply to This | # ]
grab a copy of the script here
Authored by: brett_ on Jan 18, '02 03:18:51PM
    http://homepage.mac.com/bhduxbury/.cv/bhduxbury/Public/q3ut2-binhex.hqx


[ Reply to This | # ]