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
isidto  
#1 Posted : Monday, March 1, 2021 12:02:28 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
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
doggy  
#2 Posted : Monday, March 1, 2021 3:11:14 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Innertext instead of Value
thanks 1 user thanked doggy for this useful post.
isidto on 3/2/2021(UTC)
isidto  
#3 Posted : Monday, March 1, 2021 5:43:08 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
Originally Posted by: doggy Go to Quoted Post
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
doggy  
#4 Posted : Monday, March 1, 2021 7:53:58 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post

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
Users browsing this topic
Guest
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.