Quick Python Script that runs a python-osc server and runs arbitrary batch scripts based on endpoints
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from pythonosc.udp_client import SimpleUDPClient
|
|
|
|
ip = "127.0.0.1"
|
|
port = 1337
|
|
|
|
client = SimpleUDPClient(ip, port) # Create client
|
|
client.send_message("/script/test.bat", 123) # Send float message |