vMix Forums
»
General
»
General Discussion
»
webscripting -> SetText "solved"
Rank: Newbie
Groups: Registered
Joined: 6/15/2019(UTC) Posts: 6 Location: Frankfurt
|
Hi everyone,
after watching Heaths youtube video about scripting I wantedt to try it by myself.
I had made a american football scoreboard with GT Title Designer before the season here in Germany and it works great with shortcuts and streamdeck.
There are around 120 shortcuts and it's a little confusing to maintenance it.
It is really helpful to reduce the shortcuts from 8 to 1 using websripting.
My Problem is now that with the function SetText the script is not doing what it should.
In Heats example "Function=SetText&Input=TitleHeath&SelectedName=Headline.text&Value=Majestics Waterfall" it works as it should. In my case the script doesn´nt find the field "Headline.text" with the parameter "SelectetName", if I use the parameter "SelectedTitle" he finds it. But the next time I want to use the parameter "SelectedName" or "SelectedTitle" he didn't find the answear and didn't change the text.
Here my Script:
Function=SetText&Input=scoreboard&SelectedTitle=Scoretext.text&Value=TOUCHDOWN Function=SetImageVisibleOn&Input=scoreboard&SelectedName=ScoreBG.Source Function=SetTextVisibleOn&Input=scoreboard&SelectedName=Scoretext.Text Function=SetImageVisibleOn&Input=scoreboard&SelectedName=Heim_Logo_Score.Source Sleep 7000 Function=SetImageVisibleOff&Input=scoreboard&SelectedName=ScoreBG.Source Function=SetTextVisibleOff&Input=scoreboard&SelectedName=Scoretext.Text Function=SetImageVisibleOff&Input=scoreboard&SelectedName=Heim_Logo_Score.Source Function=SetText&Input=scoreboard&SelectedName=heim.text&Value=%2B%3D6
Has anyone a clue what is wrong?
Thanks for your help!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,218 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Quote:There are around 120 shortcuts and it's a little confusing to maintenance it. Really need to use scripting ;-) Might be helpful to know the details of the title used ; its full name in the input, the exact text and image field names (screenshot would help) etc Check for spaces or capital letters in both title and script details and correct function use Code:for starters
Function=SetText&Input=scoreboard&SelectedTitle=Scoretext.text&Value=TOUCHDOWN
should at least be
Function=SetText&Input=scoreboard&SelectedName=Scoretext.Text&Value=TOUCHDOWN
Have you checked https://www.vmix.com/hel...utFunctionReference.html and https://forums.vmix.com/...86-Scripting-for-Dummies? for more learning
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/15/2019(UTC) Posts: 6 Location: Frankfurt
|
I think your help was succesful, it was the capital T in Heim.Text and Scoreboard.Text.
Thanks a lot!
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
webscripting -> SetText "solved"
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