TenebraeQuake Icon

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 TenebraeQuake application. The following example will tell the appication "TenebraeQuake" to start without any parameters:

tell application "TenebraeQuake"
    run
end tell

Using the command "run params String" will start the TenebraeQuake application with the command line parameters stored in "String". The following example will tell the application "TenebraeQuake" to start with the command line parameters "-hipnotic".

tell application "TenebraeQuake"
    run params "-hipnotic"
end tell


Related Topics

Executing TenebraeQuake console commands with AppleScript