The most convenient way to run scripts is to use the script player panel.
To run a script to run you have to press the button with the green triangle.
Scripts can be run using the debug menu.
Menu item Run starts the script for execution.
If you want to run a script that is not open in the script editor, but is located somewhere on disk, you can use the menu item Open and Run.
You can also run the script using the F5 hotkey.
If you want to run a script that is not open in the script editor, but is located somewhere on disk, you can use the keyboard shortcut Ctrl+Alt+Shift+F5.