How to send pjlink commands with osc?

Hi community!

I understand that I could use osc as a powerful tool to midi control any DAW out there. This works wonderful and is more easy for me to establish but... I need it more to receive a midi message from ableton live and send out a pjlink command to a projector. I am trying to create a simple button in osc that sends a pjlink command. How would the script of a button look like to open a static ip-adress, send the pjlink passwort and a command like %1AVMT 31 with it? Can I use osc to do so?

Thank you for your time!

Hi,
Open Stage Control only supports osc and midi, it can't directly use any other protocol, but since it's possible to use a node library in a custom module using the nativeRequire function, you might be able to hack your own pjlink plugin into o-s-c.

Thanks for responding.

I had the same thought and put an node.js into the value_script section and hoped it might work instantly. I guess i have to put some more effort and time into this but if it ever comes to life, I'll share it with you. Cheers!