logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
goldeneyesrj  
#1 Posted : Monday, April 5, 2021 6:02:56 AM(UTC)
goldeneyesrj

Rank: Newbie

Groups: Registered
Joined: 4/5/2021(UTC)
Posts: 6
Brazil
Location: Rio de Janeiro

Have a way to a trigger from one input save an anoter input countdown value to a thirt title fill?
Thankx and sorry my bad english.
doggy  
#2 Posted : Monday, April 5, 2021 7:07:55 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: goldeneyesrj Go to Quoted Post
Have a way to a trigger from one input save an anoter input countdown value to a thirt title fill?
Thankx and sorry my bad english.


Has nothing to do with bad English but the lack of being more specific or detailed that makes the question unclear/confusing

Suggest to write in in your native language first (notepad) and translate it with https://translate.google.com/ before posting
goldeneyesrj  
#3 Posted : Monday, April 5, 2021 8:08:15 AM(UTC)
goldeneyesrj

Rank: Newbie

Groups: Registered
Joined: 4/5/2021(UTC)
Posts: 6
Brazil
Location: Rio de Janeiro

I have a scoreboard for a football game, with a stopwatch (gtzipscore).
When a player scores a goal, a stripe is displayed with the player's name (gtzipgoal).
At the end of the match, I need to display a third stripe with the name of the player and the time of the score at the moment of the goal (gtzipend).
Is there a way for the goal stripe trigger (gtzipgoal) to edit the endgame stripe field (gtzipend) with the time displayed on the scoreboard (gtzipscore) at the time it is displayed in the overlay?
Thank you very much in advance.
goldeneyesrj  
#4 Posted : Monday, April 5, 2021 1:22:29 PM(UTC)
goldeneyesrj

Rank: Newbie

Groups: Registered
Joined: 4/5/2021(UTC)
Posts: 6
Brazil
Location: Rio de Janeiro

Or is there any way to receive the titles texts through an autohotkey script?
doggy  
#5 Posted : Monday, April 5, 2021 4:39:59 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: goldeneyesrj Go to Quoted Post
I have a scoreboard for a football game, with a stopwatch (gtzipscore).
When a player scores a goal, a stripe is displayed with the player's name (gtzipgoal).
At the end of the match, I need to display a third stripe with the name of the player and the time of the score at the moment of the goal (gtzipend).
Is there a way for the goal stripe trigger (gtzipgoal) to edit the endgame stripe field (gtzipend) with the time displayed on the scoreboard (gtzipscore) at the time it is displayed in the overlay?
Thank you very much in advance.


Makes more sense , thank you

Based on the fact that it's not every 2 seconds a goal will be scored one could easily write it in the title or a data source manually.
Than again scripting gives you the ability to retrieve data displayed in a title and put it in another title or even a data source file.

No need to mess with autohotkey when possible with what is available in vMix , check for "scripting" ( and examples) in this forum.
goldeneyesrj  
#6 Posted : Tuesday, April 6, 2021 1:40:54 PM(UTC)
goldeneyesrj

Rank: Newbie

Groups: Registered
Joined: 4/5/2021(UTC)
Posts: 6
Brazil
Location: Rio de Janeiro

I found a way...
Thankxxxx.

Quote:

url = http://127.0.0.1:8088/API/?
XMLSource = % URLDownloadToVar(url)
FoundPos := InStr(XMLSource, "2902e77d-ba92-420a-b491-150d1b68491d")
StartChar := FoundPos + 80
StringMid, Minuto, XMLSource, StartChar, 5
StartChar := FoundPos + 126
StringMid, Tempo, XMLSource, StartChar, 2
FoundPos := InStr(XMLSource, "4637078f-764b-4004-aad7-b632638614c4")
StartChar := FoundPos + 299
StringMid, Teste, XMLSource, StartChar, 1
if (Teste = ">")
StartChar := StartChar + 1
EndChar := InStr(XMLSource, "</text>",, StartChar)
Leght := EndChar - StartChar
StringMid, Player, XMLSource, StartChar, Leght
Output := % Player " " Tempo " " Minuto "`n"
FileAppend, %Output%, Gols Casa.txt
return

URLDownloadToVar(url){
hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1")
hObject.Open("GET",url)
hObject.Send()
return hObject.ResponseText
}
Users browsing this topic
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.