Command corresponding to the buttons


imagine i want to send an osc message to sonic pi to stop all or to reload the script ?
What are the sonic pi commands that simulate the stop, play, reload, record buttons ?

Tanks for your help

I’m not so sure you can exactly do what you want to do… but
check out ‘stop’, ‘run_file’ and ‘run_code’ in the help/language
section in the boffom left of SP…

There is also: with_fx :record, but whether it works over OSC ?

I’m guessing that run_code “stop” would stop all running buffers
though… if its a viable command?

Only way is to try, I reckon…