Rank: Member
Groups: Registered
Joined: 5/15/2015(UTC) Posts: 12 Location: Jerusalem
Was thanked: 1 time(s) in 1 post(s)
|
OK.....I am still confused. If I understood you correctly, I should have done something like that:
<vMixFunctionReference> <Description>OpenPreset</Description> <Function>OpenPreset</Function> <FormatString>Function=OpenPreset&Value={2}</FormatString> <StringDescription>C:\Users\ms\Documents\Vmix Presets\402.vmix</StringDescription> </vMixFunctionReference>
Replacing Path with the actual path of my preset. I do get the folder window to open, but the selected preset is NOT selected and Vmix is waiting for me to, manually, choose the preset (which, of course, defeats the purpose).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@yosik, no. You need set path in UTC in parameter of function.
StringDescription is just description of string parameter, which you see when add function to script in button. I provide you right XML string, just paste it in Functions.xml file.
Then delete this function in button script (if you try to edit script), because functions in scripts does not update when you change Functions.xml file.
Each function in .xml file just description, it contain only static data.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/15/2015(UTC) Posts: 12 Location: Jerusalem
Was thanked: 1 time(s) in 1 post(s)
|
Yesssssss!! Thank you. You're the MAN. Works like a charm Respect....
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@yosik, good luck!
But check event viewer too, please. So I can fix crash.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/1/2019(UTC) Views messages in topic : 2 Location: seoul
|
111.PNG (24kb) downloaded 4 time(s).why not oline...??? offline 0.0???
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@piterkim, is vMix started?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/18/2018(UTC) Posts: 1 Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Only vMix and UTC Championship of Ukraine on hockey among women
|
1 user thanked Nicosan for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Hi, I have a query. Please, if you can help me. How could you activate a button (overlay) depending on the state of one of the vmix inputs. I see that vmix in localhost, throw the status in [Running and Paused]
state: Running >>> (Input 1) overlayIN 1 timer: 15000 overlayOUT 1
state: Paused no action
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, it's a bit complex script =) At first I set variable, which indicate previous state of Input. If state was changed, I update variable and check if it's value is 'Running'. If variable value is equal to 'Running' play overlay. Wait a bit, then go to the start of the script. Maybe it will be better to split script into two buttons... script.png (47kb) downloaded 13 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Thanks, I will try and tell you how it was
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Hi, I tried to use the running data, but it did not work. when adding the condition _var0 == Running, there is no result. however, when using position, duration, number has worked. I have tried the query to the entry in all: type, number, etc. and if it returns each value in text, but when comparing or matching it does not have any effect on the condition. I am not very understood in this coding, I do not know if something will have to see that it is text or numbers what is obtained in the variable _var0
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, Hi. 'Running' must be in single quotes because it's string value. So it will look like
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/10/2015(UTC) Posts: 322 Location: Siroki Brijeg Thanks: 8 times Was thanked: 27 time(s) in 24 post(s)
|
Originally Posted by: elgarf @piterkim, is vMix started? Sometimes it just need to hit Update state and it comes online ;)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/29/2018(UTC) Posts: 76 Thanks: 25 times Was thanked: 4 time(s) in 4 post(s)
|
is this working on UTC ?
I get from a csv file information for my scoreboards, is it possibly if the data is charging in the csv (scoreboard) that vmix is make a cut or show a new transmission Automatik.
As Exempel csv Information round 1 is change to round 2 now I would like that vmix is Change from cam 1 to cam 2 automatic.
I hope you understanding and maybe someone have a Idee
Thx
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, @bgbenni, check new version of UTC. I've added ValueChanged function, which will help you. script 01.png (39kb) downloaded 9 time(s).Above is the script for JAIRODJ. @bgbenni, you can make condition for every state of round, something like that: Code:
ValueChanged _('Inputs[{0}].Elements[round].Text')
Condition _('Inputs[{0}].Elements[round].Text') == 1
<SomeActions>
ConditionEnd
Condition _('Inputs[{0}].Elements[round].Text') == 2
<SomeOtherActions>
ConditionEnd
ConditionEnd
Timer 1000
GoTo 0
I've also added descriptions for functions.
Conditions and expressions in UTC are very powerful, you can make some beautiful things, even in basic version of vMix. Though scripts are not really realtime (you should make delays, because http API queries are asynchronous). Maybe I should make text versions of scripts for easy sharing.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/29/2018(UTC) Posts: 76 Thanks: 25 times Was thanked: 4 time(s) in 4 post(s)
|
Wow ok I will test it the next weeks ! Thx
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Hey, thanks @elgarf for the support.
I managed to solve it. Also I managed to create a way to automate content in vmix using UTC functions with your help I managed to add music autotitle, now you see) and it works decently (it helps the moment). Some events arose: When the (GoTo = 0) is used to repeat the instructions and the button is activated, an infinite loop is practically created .. and can not be interrupted. If for some reason you want to stop, you can not and if you want to delete or close the button, UTC collapses (does not respond), so you must force the closure. Well also want to consult you if it is possible that, when a project is opened, it activates automatically some UTC function (activate a button, etc.)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
@JAIRODJ, there is [Stop] button in button widget caption, but looks like I stop background worker not correctly when removing widget, I'll fix it in the next update. At now you can stop script manually.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/23/2015(UTC) Posts: 458 Thanks: 20 times Was thanked: 227 time(s) in 129 post(s)
|
|
|
|
|
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