Rank: Newbie
Groups: Registered
Joined: 2/24/2023(UTC) Posts: 1
|
I run an app that pushes stats to an XML file. I don’t have any control over what the app is pushing or interpreting. I’m hoping I can make changes with a supplemental XML acting as a translator.
Basically if I have a text field that receives numeric data, how can I tell it to show a ‘0’ (zero) when that field hasn’t yet received data?
Similarly, if I want to append a data text field with some extra text/string, how do I do that without having to place a static text field next to it?
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 561
Thanks: 62 times Was thanked: 131 time(s) in 119 post(s)
|
Regarding your second question: See https://www.vmix.com/hel...ourcesTitleMapping.html:'Format: This option can be used to add additional text to the data, for example "Name: {0}" will output the data as "Name: Bob"' First question, probably possible via scripting, if your vMix version allows it, for example: In GT Title, hide the title field that is mapped to the datasource and add a (visible) static title field. Then, via scripting: - Read the content of the hidden and mapped title field. - If empty, write a '0' to the visible title field, if not write the content of the hidden title field to it.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close