Quake II Quake II Help
Setting command line parameters via AppleScript

You can set the command line parameters with the "run" command. The syntax for the "run" command is as follows:

run [params String]

Using only the command "run" will simply start the Quake II application. The following example will tell the appication to start without any parameters:

tell application "Quake II"
    run
end tell

Using the command "run params String" will start the Quake II application with the command line parameters stored in "String". The following example will tell the application to start with the command line parameters "+set game ROGUE".

tell application "Quake II"
    run params "+set game ROGUE"
end tell
 
Tell me more