AppleScript Commands
Setting command line parameters with AppleScript
Executing Quake console commands with AppleScript