Listen to Qlab OSC and write to txt

Samuel Henriques's icon

Hello everyone, I'm trying without success to listen to the OSC Qlab reply messages and save it to a txt file.
The replies are on port 53001 and look like this /reply/workspace/0F11AD7C-DF6C-4DB1-A346-71E45E020476/selectedCues "{"status":"ok","data":[{"number":"1","uniqueID":"0A189862-3C3F-4506-868F-30FDD54B4A2B","cues":[],"colorName\/live":"none","flagged":false,"listName":"CARTOON-ACCENT-SLIDE-BOING.wav","type":"Audio","colorName":"none","name":"","armed":true}],"workspace_id":"0F11AD7C-DF6C-4DB1-A346-71E45E020476","address":"\/workspace\/0F11AD7C-DF6C-4DB1-A346-71E45E020476\/selectedCues"}"
They always start with /reply and ideally would save the json to file, jason starts {"status":"ok... If this works I'd like to create a file for each replay address.
Any ideas how this could be done? Thank you so much

Source Audio's icon

what in that string should be entered into text line?
full message including /reply/.......
or only what you see as address and then following data?
Or should that address become text file name ?