After generating your script into Ableton Live and restarting it. To activate your custom script in your Ableton Live, do the following:
In Ableton Live, go to preferences > MIDI.
In the control surface column, open a select list and find your script.
All scripts created by Control Surface Studio are prefixed with “css_”.
For example, if you named your script “My first Script”, it will be named “css_my_first_script” in Ableton Live’s preferences.
This ensure that the default midi remote scripts are not overwritten.
After selecting your script, then select the MIDI Controller/keyboard from the Input and output select lists on the same row.
Then for the MIDI ports options below, set ‘track’ and ‘remote’ to ‘on’ for your MIDI Controller/keyboard’s input and output.
Note: whenever you make changes to your script, Ableton Live will need to be restarted in order to see the changes.