The answer depends on what you are scripting. See the general syntax of runCommand.
runCommand
See also @pat’s canonical example of using scripting: