vMix Forums
»
General
»
General Discussion
»
vMix scripting - How to loop a script?
Rank: Advanced Member
Groups: Registered
Joined: 1/31/2017(UTC) Posts: 93 Location: KZ
Thanks: 3 times Was thanked: 10 time(s) in 10 post(s)
|
Hello. Recently found out about scripting capabilities in vMix. I am planning to use it to shuffle ads automatically that are inserted in multiview of an input. So far I am using WEB Scripting and was able to change multiview inputs, but is it possible: 1) to loop a script? 2) to use IF statements? 3) to run the script if a certain input became active?
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
1) yes 2) yes 3) would guess so by checking the state on the input or the active input number from the /API xml
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/31/2017(UTC) Posts: 93 Location: KZ
Thanks: 3 times Was thanked: 10 time(s) in 10 post(s)
|
Originally Posted by: doggy 1) yes 2) yes 3) would guess so by checking the state on the input from the /API xml Please tell me how would I do 1-2. Didn't find any info in Documentation.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
vMix Scripting supports the powerful and easy to understand VB.NET language when writing your script.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,225 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
for example Code:Do While true
if .....
end if
Loop
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
vMix scripting - How to loop a script?
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