I have the following address “/TrackList/0/RecordEnable”
How do I “inject” the value of the object inside the address?
e.g. my button has a value of 55 so the address should become “/TrackList/55/RecordEnable”
The most simple way would be to use the widget’s script
property to send the message:
send('/TrackList/' + value + '/RecordEnable')
It’s also possible to set the address
property to
/TrackList/@{this}/RecordEnable
but it’s less efficient.
1 Like