logo

Live Production Software Forums


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

Notification

Icon
Error

64 Pages«<3435363738>»
Options
Go to last post Go to first unread
yosik  
#701 Posted : Monday, April 8, 2019 12:47:40 AM(UTC)
yosik

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&amp;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).
elgarf  
#702 Posted : Monday, April 8, 2019 12:56:56 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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.
yosik  
#703 Posted : Monday, April 8, 2019 1:22:44 AM(UTC)
yosik

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....
elgarf  
#704 Posted : Tuesday, April 9, 2019 12:04:16 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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.
piterkim  
#705 Posted : Saturday, April 13, 2019 1:48:43 AM(UTC)
piterkim

Rank: Newbie

Groups: Registered
Joined: 2/1/2019(UTC)
Posts: 2
Korea, Republic Of
Location: seoul

111.PNG (24kb) downloaded 4 time(s).

why not oline...???

offline 0.0???

elgarf  
#706 Posted : Saturday, April 13, 2019 2:07:10 AM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
@piterkim, is vMix started?
elgarf  
#707 Posted : Tuesday, April 16, 2019 4:40:35 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Updated with accessing list items, also now you can access inputs by number in expressions.

Universal Title Controller
Nicosan  
#708 Posted : Friday, May 17, 2019 3:48:45 AM(UTC)
Nicosan

Rank: Newbie

Groups: Registered
Joined: 11/18/2018(UTC)
Posts: 1
Ukraine

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Only vMix and UTC





Championship of Ukraine on hockey among women
thanks 1 user thanked Nicosan for this useful post.
elgarf on 5/17/2019(UTC)
JAIRODJ  
#709 Posted : Friday, May 31, 2019 8:07:40 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
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
elgarf  
#710 Posted : Friday, May 31, 2019 5:12:22 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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).
JAIRODJ  
#711 Posted : Saturday, June 1, 2019 9:27:31 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
Location: Ecuador

Thanks: 2 times
Was thanked: 16 time(s) in 12 post(s)
Thanks, I will try and tell you how it was
JAIRODJ  
#712 Posted : Wednesday, June 5, 2019 6:32:08 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
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
elgarf  
#713 Posted : Wednesday, June 5, 2019 2:47:21 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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
Code:
_var0 == 'Running'
Siroki  
#714 Posted : Friday, June 7, 2019 9:09:46 PM(UTC)
Siroki

Rank: Advanced Member

Groups: Registered
Joined: 10/10/2015(UTC)
Posts: 322
Man
Bosnia and Herzegovina
Location: Siroki Brijeg

Thanks: 8 times
Was thanked: 27 time(s) in 24 post(s)
Originally Posted by: elgarf Go to Quoted Post
@piterkim, is vMix started?


Sometimes it just need to hit Update state and it comes online ;)
bgbenni  
#715 Posted : Tuesday, June 11, 2019 2:22:32 AM(UTC)
bgbenni

Rank: Advanced Member

Groups: Registered
Joined: 5/29/2018(UTC)
Posts: 76
Germany

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
elgarf  
#716 Posted : Wednesday, June 12, 2019 6:24:22 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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.
bgbenni  
#717 Posted : Wednesday, June 12, 2019 7:27:31 PM(UTC)
bgbenni

Rank: Advanced Member

Groups: Registered
Joined: 5/29/2018(UTC)
Posts: 76
Germany

Thanks: 25 times
Was thanked: 4 time(s) in 4 post(s)
Wow ok I will test it the next weeks ! Thx
JAIRODJ  
#718 Posted : Thursday, June 13, 2019 7:54:39 AM(UTC)
JAIRODJ

Rank: Advanced Member

Groups: Registered
Joined: 9/1/2015(UTC)
Posts: 126
Man
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.)
elgarf  
#719 Posted : Thursday, June 13, 2019 3:51:34 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

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.
elgarf  
#720 Posted : Monday, June 17, 2019 3:49:04 PM(UTC)
elgarf

Rank: Advanced Member

Groups: Registered
Joined: 10/23/2015(UTC)
Posts: 458
Man
Russian Federation

Thanks: 20 times
Was thanked: 227 time(s) in 129 post(s)
Updated UTC, so you can remove buttons with infinite loops, import & export scripts.

Download Universal Title Controller
Users browsing this topic
Guest (14)
64 Pages«<3435363738>»
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.