vMix Forums
»
General
»
General Discussion
»
recover via script the preview source
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
hello,
Why this not works.
Dim doc as new XmlDocument() doc.LoadXml(API.XML()) 'Dim node = (doc.SelectSingleNode("//input[@number='10']/@key").Value) Dim node = (doc.SelectSingleNode("//preview").Value) Console.writeline(node )
I will like know the number of the source that it is in preview.
reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,226 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Innertext instead of Value
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Originally Posted by: doggy Innertext instead of Value thank you. Global vars? it is not posible. 1.- If I have 10 inputs and I want to have a button that sends prev or program, where I store the variable of the conditional 2.- A source type colour. It is posible getter and setter color reggards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,226 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto Global vars? it is not posible.
1.- If I have 10 inputs and I want to have a button that sends prev or program, where I store the variable of the conditional
No but the trick to use is to have a unused title and use that as a location to hold a variable or write/read them from a simple text file Quote:
2.- A source type colour. It is posible getter and setter color
reggards
check what is available in the vMix API XML , if not there then again no Also check all the available shortcuts as practically all of those are available as a function usable within a script
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
recover via script the preview source
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