vMix Forums
»
General
»
Feature Requests
»
Customized text in Shortcut
Rank: Member
Groups: Registered
Joined: 6/28/2020(UTC) Posts: 11 Location: Scottsdale
|
I have set up a DataSource to add a lower 3rd text to a broadcast style setup. Each time the lower 3rd message changes(an input by us), I can WriteDuration... with the text message "Lower 3d". Works great. However, wanting to find out if possible that rather than "Lower 3rd" in the log file, I would like to have the line of text from the DataSource logged. WriteDuration.jpg (68kb) downloaded 0 time(s).Is this possible? Thanks,
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: EpicVisionZone I have set up a DataSource to add a lower 3rd text to a broadcast style setup.
Each time the lower 3rd message changes(an input by us), I can WriteDuration... with the text message "Lower 3d". Works great.
However, wanting to find out if possible that rather than "Lower 3rd" in the log file, I would like to have the line of text from the DataSource logged.
Is this possible? Thanks, Script: read content of the datasource (through title) and perform the api function with the resulting text as value. SD button calls script easy peasy
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/28/2020(UTC) Posts: 11 Location: Scottsdale
|
Thanks, but not a coder so writing the API function is not possible for me.
Is there perhaps another way to do this?
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: EpicVisionZone Thanks, but not a coder so writing the API function is not possible for me.
Is there perhaps another way to do this?
Thanks Check the "scripting for dummies" post in this forum
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Code:dim result as string = Input.Find("Blue.gtzip").Text("Headline.Text")
API.Function("WriteDurationToRecordingLog",Value:=result)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/28/2020(UTC) Posts: 11 Location: Scottsdale
|
Thanks Doggy: Here is what I have so far with Web Scripting.
Function=SetText&Input=GuestLower3rds&SelectedName=Headline.text Function=OverlayInput2In&Input=GuestLower3rds Function=WriteDurationToRecordingLog&Value=test
This all works EXCEPT in the 3rd line where I WriteDuration, I would like to dynamically set the Value to the Datasource value from the SetText.
Any suggestions are welcome.
Thanks,
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: EpicVisionZone Thanks Doggy: Here is what I have so far with Web Scripting.
Function=SetText&Input=GuestLower3rds&SelectedName=Headline.text Function=OverlayInput2In&Input=GuestLower3rds Function=WriteDurationToRecordingLog&Value=test
This all works EXCEPT in the 3rd line where I WriteDuration, I would like to dynamically set the Value to the Datasource value from the SetText.
Any suggestions are welcome.
Thanks, You mentioned you have setup a datasource so assume it is linked to the title to update the title content based on the row selected in the datasource This means there is no use for the SetText function . Even so the function is not even putting content in the title as it has no value specified to do so so doesnt do a thing In your write duration you mantion the use of a variable "test" but i also contains nothing as you didnt put one in somewhere Webscripting can be used for the vMix functions but not to set and use variables (vb.net ) So as mentioned before - manually or autofill the title text (datasource) - call a script when triggering the Overlay of the title (or by using a sortcut calling the script - use the script i posted before to be called (adjust the name of the title and its textfield Code:dim result as string = Input.Find("GuestLower3rds").Text("Headline.Text")
API.Function("WriteDurationToRecordingLog",Value:=result)
Above script when called will read the content of the textfield in your title and write it to the log next to the timestamp in the logfile This is the most bassic version as it does not check if a recording is actually taking place , hence make sure you are recording to perform the script ( else it is useless obviously) one can also run the script inthe script settings tab manually( when you saved the script)
|
|
|
|
Rank: Member
Groups: Registered
Joined: 6/28/2020(UTC) Posts: 11 Location: Scottsdale
|
Works great. Thanks Doggy. My mistake is I didn't hit the Record button.
Thanks for all your advice.
Very much appreciated.
I also posted your solution, giving you credit of course, on the vMix group page on Facebook where I originally posted the question.
Thanks.
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
Customized text in Shortcut
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