property ScriptCommands : TStrings
The list of script commands.
Although declared as a TStrings component, this component is treated as a TStringList and uses the TStringList property editor for adding and editing script commands at design time.
Note that ScriptCommands are used only when the ScriptFile property is empty. If the ScriptFile contains a file name, then script commands are read from that file regardless of the contents of ScriptCommands.
For convenience, at design time the script component loads the commands from ScriptFile into ScriptCommands whenever a new ScriptFile property value is set. If the contents of ScriptCommands are changed the script component automatically writes those changes to ScriptFile, but only when the script component is destroyed or a new ScriptFile set. If the contents of ScriptCommands is changed and the project is run without first closing, the project the changes to ScriptCommands will be lost.