Setting command line parameters with AppleScript

|  | Quake Help

| Setting command line parameters with 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 desired Quake application. The following example will tell the appication "Quake" to start without any parameters:

tell application "Quake" run end tell

Using the command "run params String" will start the desired Quake application with the command line parameters stored in "String". The following example will tell the application "Quake" to start with the command line parameters "-game HIPNOTIC".

tell application "Quake" run params "-game HIPNOTIC" end tell

| Tell me more