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
Hallaman  
#1 Posted : Friday, July 24, 2020 3:47:51 PM(UTC)
Hallaman

Rank: Newbie

Groups: Registered
Joined: 2/2/2017(UTC)
Posts: 9
Location: Australia

Was thanked: 1 time(s) in 1 post(s)
Hi All,

Just getting started with scripting and trying to find the syntax for returning the bus on/off states for inputs. Does anyone have that info??
I can't seem to find what I need to pass in the script to find the bus states.

Cheers,
JB
doggy  
#2 Posted : Friday, July 24, 2020 4:20:41 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
one can check a audio bus state from the API xml (Muted true or false)
From an input data one can check which audiobusses the input is on or the input is muted or not

check the "scripting for dummies" posts for tips on reading the API XML
Hallaman  
#3 Posted : Friday, July 24, 2020 4:51:35 PM(UTC)
Hallaman

Rank: Newbie

Groups: Registered
Joined: 2/2/2017(UTC)
Posts: 9
Location: Australia

Was thanked: 1 time(s) in 1 post(s)
Thanks Doggy,

I found the audiobusses reference in the XML. I'm not well versed in VB.net. How would you parse the return from audiobusses into an if elseif scenario?

I'm basically creating a single button that toggles the Audio Bus assignment on an input. I need to do this for a couple of busses on a couple of inputs.

ie: Bus A and B on Input 3, Bus C and D on Input 4 etc.

I would use a find in C++ can you do something similar in VB.net?

Cheers,
JB
Users browsing this topic
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.