Enter scripts or script commands using the Script Editor. They are executed on each startup. For further information, please refer to the VRED Python Documentation found in Help > Python Documentation.
In the Menu Bar, select Edit > Preferences, then on the left side of the dialog box, select Script.