vMix Forums
»
General
»
3rd Party Software and Development
»
vMix Script Builder App --Updated 11 July 2022--
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
vMix has a very powerful Scripting feature, but some folks are not so comfortable with coding, and may not be using scripts to their potential. So.. I made a little app that is simple to use and that will build the script for you. Features: - Simple to use with pulldown menus that reflect your inputs when connected to vMix. - Build scripts offline by manually inserting the pertinent vMix info into the pulldown fields (such as: Input Name or number, Selected Name, Index, etc) . This can be useful if you often use the same input names for different vMix presets. - Import scripts and modify them to suit your needs - Export (save) the scripts for use in vMix or other 3rd party programs - Quickly test your scripts as you go ! (It's not necessary to save and import them into vMix to test them). Just press "Test Script" button If you have never written a script, I would encourage you to read the "Shortcut Function Reference' chapter in the vMix User guide to understand how to use the commands. Screen Shot 2020-02-26 at 12.18.55 AM.png (108kb) downloaded 66 time(s).Here's the link for those who wish to give it a try: https://cli.re/vMix-Script-Builder-1.0.12cheers, Richard
|
36 users thanked raugert for this useful post.
|
ThommiTechnik on 4/4/2019(UTC), stevespaw on 4/5/2019(UTC), pba on 4/5/2019(UTC), Video Dave on 4/5/2019(UTC), AVStream on 4/9/2019(UTC), it-rttv on 4/9/2019(UTC), islyakh on 4/9/2019(UTC), echobb on 4/17/2019(UTC), kevev on 4/17/2019(UTC), QuiapoChurch on 4/21/2019(UTC), Teye on 4/27/2019(UTC), avsoundguy on 4/30/2019(UTC), Jurgen on 12/18/2019(UTC), studiodelta on 2/3/2020(UTC), Peter1000 on 2/21/2020(UTC), tkachuk.alex on 2/24/2020(UTC), clafarge on 3/25/2020(UTC), sinc747 on 3/25/2020(UTC), KnightHeart on 4/23/2020(UTC), SimpleAOB on 5/3/2020(UTC), seb666 on 6/29/2020(UTC), billh2020 on 8/27/2020(UTC), Eddy Vanuytven on 11/4/2020(UTC), YaltaProduction on 11/9/2020(UTC), AVolutionPro on 11/21/2020(UTC), Vyacheslav on 2/7/2021(UTC), DaleH on 2/28/2021(UTC), LeeL on 5/10/2021(UTC), podworx on 10/22/2021(UTC), chaosmoon on 10/27/2021(UTC), Korne_B on 5/2/2022(UTC), AgentPete on 8/2/2022(UTC), nikolajvavilov on 11/24/2022(UTC), Ario on 3/15/2024(UTC), Claude Beaulé on 6/9/2024(UTC), monamiga on 7/11/2024(UTC)
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
Updated version 1.0.4 (link in first post)
- added Mix feature from vMix23 - changed Input data to reflect "Input Name" rather than GUID. Can now be used on vMIx presets that use common names.
Richard
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/8/2016(UTC) Posts: 49 Location: Ukraine Thanks: 11 times Was thanked: 5 time(s) in 3 post(s)
|
Super app. THX. But could you add Cyrillic support. Names and data now are "???????" TNX once more
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 302 Thanks: 17 times Was thanked: 79 time(s) in 60 post(s)
|
Cool Tool, it would be nice, if we could copy the compiled script text to the clipboard.
Thanks for your effort.
Peter
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
Update v1.0.6 (link in first post)
- added french and cyrillic support
- choose vMix Scripts for use in vMix scripting settings or - choose URLEncoded Scripts for use in browsers or 3rd party apps
- "import" button will import vMix scripts that were created in vMix scripting - "save" button will save vMix scripts for importing directly into vMix scripting
- fixed incremental += in value field not always working correctly - "new command” line now appears when clearing script
- added copy to clipboard feature
Richard
|
1 user thanked raugert for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2015(UTC) Posts: 126 Location: Ecuador Thanks: 2 times Was thanked: 16 time(s) in 12 post(s)
|
Hi I would like to check if possible, use the command "waiting for completed" This command is in an example in the vmix forum, but I can't make it work. What I want is that when you finish playing the video the following script command is executed.
Function = Fade & Input = Alex Ubago - Look at us.mp4 waitingForCompleted Function = Fade & Duration = 100 & Input = NDI AIR2 (vMix - Output 1)
I've tried many ways but I can't do it with the script. Can you help me please.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
Use this Script Builder app to create the script for you . Then copy to clipboard and paste it in vMix scripting.
It should look something like this:
Function=Fade&Input=Alex Ubago - Look at us.mp4 Function=WaitForCompletion&Input=Alex Ubago - Look at us.mp4 Function=Fade&Duration=100&Input=NDI AIR2 (vMix - Output 1)
regards, Richard
|
1 user thanked raugert for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/16/2017(UTC) Posts: 578 Location: jamaica
Thanks: 77 times Was thanked: 32 time(s) in 31 post(s)
|
Hi, I am trying to make a scoreboard for the game of cricket...I have all the batsmen scores advancing correctly, but I can not get the individual scores to total....can anyone point me in the right direction....in other words, if each batsman make 25 runs, and there are 4 batsmen, each time a batsman make a run, and I add that to his score, I want to see it reflected in the total for that team...( batsman 1= 20 runs, batsman 2= 24 runs: Total =44....)... I am not a script writer, so I need an example to work with....any help will be surely welcomed.....
Thanks in advance
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 8/22/2020(UTC) Posts: 3
|
This looks great! However, website not accessible, can't establish a secure connection. Could this be fixed so it's possible to look at and download the app?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
It is a redirected link to a dropbox download. I can download OK on Safari. Maybe try another browser. If you still can't download it, please email me at info@studio793.ca and I will give you a private link to try. regards, Richard
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/17/2020(UTC) Posts: 59 Location: Makati City Thanks: 11 times Was thanked: 5 time(s) in 5 post(s)
|
This is a fantastic tool! I tried it for the first time - not knowing my way around scripts at all - and I was able to easily create various scripts for managing audio talk-back with several vMixcalls. This will save me so much work! Thanks for sharing this!
|
1 user thanked Martin Block for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
UPDATE: Version v1.0.7 (see first post)
- Added "DataSources" to command pulldown menu - Changed URLScript to display URL Encoded format - Added vMix Port field - Added compatibility with Windows and Mac files (Exported Mac Catalina files wouldn't always load properly on Windows)
Richard
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/21/2017(UTC) Posts: 124 Location: Philadephia, PA Thanks: 31 times Was thanked: 13 time(s) in 8 post(s)
|
So great that you created this, Richard. Thank you. I can't wait to start using it.
Have you ever considered a version that can output VB script - for those of us that need scripts that may not be possible using vmix's built in scripting function?
For example, I've been doing a lot live, 4K overshooting lately - without any camera people. Each of three cameras is framed so that we can get 3-4, 1080p shots (or 4 720p shots) which you use on one main and 3 virtual inputs. So for camera 1, our inputs are 1-4 (1A,1B,!C,!D). The problem we are trying to address is tally lights. Right now, the talley only turns red when input 1 is in program. Inputs 2-4 don't trigger camera-1's talley, but need to, given that virtual inputs 2-4 also come from camera-1.
I'd love to be able to write a script that tells Vmix that anytime inputs 2-4 are routed to program, turn on the talley for camera-1 (as well as when input-1 is similarly routed) - and a similar script for preview routing.
It seems to me that this is something that's beyond the scoped of basic Vmix scripting, but perhaps not for VB scripting.
Any thoughts?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
Originally Posted by: David_in_Philly Have you ever considered a version that can output VB script The Script Builder app was designed to build vMix Scripts (which I would call "linear" scripts), where one event is triggered after the other . VB.net scripting can be more like "conditional" scripting, where you can apply certain logic. It would be impossible to make this app answer individual needs of "conditional" scripting. There is a good thread about VB.net scripting on this forum that might help you write your script. ( https://forums.vmix.com/...86-Scripting-for-Dummies ) I'm curious what system you are using for the tally lights ? cheers, Richard
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/21/2017(UTC) Posts: 124 Location: Philadephia, PA Thanks: 31 times Was thanked: 13 time(s) in 8 post(s)
|
Thanks, Richard.
So far I’’m just using vmix’s internal tally light system and smartphones pointing to either a local copy of Vmix or a remote copy over the Internet.
Best,
David
If you know anybody who is interested in Vb.net scripting for Vmix, I’d love to have access to an ad hoc developer - either on an hourly or project basis.
Much appreciated!
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/23/2021(UTC) Posts: 3 Location: Amsterdam Thanks: 2 times
|
Thanks for this. It really opens up a lot of hidden potential. I've worked on macro's/scripts with a few mixers (Atem, Ross, Broadcastpix) and was a little disappointed with the lack of top level control for the scripting in Vmix.
The only thing is that the "test" option wasn't working on the machine running Vmix or from a macbookpro in the same network. Whilst building the scripts on both machines i could however, select the inputs in the current Vmix project. Could this be windows(defender) blocking something?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
@ chaosmoon
I don't believe your issue is with windows but rather with the version of vMix. What version are you using ?
Please note that as of vMix version 24.0.0.60 the TCP and Web API are now locked down by default with some enhanced security measures. This essentially blocks the "StartScriptDynamic" command. However, you can choose to disable the "Enhanced Security" option in the vMix Web settings. This should allow the Dynamic scripts to run again.
The other option is to export the scripts from the Panel Builder app and then import them into vMix giving them a unique name. You would then call up the scripts directly using the "ScriptStart" command.
cheers, Richard
|
1 user thanked raugert for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/23/2021(UTC) Posts: 3 Location: Amsterdam Thanks: 2 times
|
Hi Richard,
Thanks for the swift reply. We're up to date with the versions and i'll look into disabling "Enhanced Security". Being able to test the scripts from the editor as i'm building them is worth it.
cheers,
Carlos
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 6/21/2017(UTC) Posts: 9 Location: Las Vegas
Thanks: 1 times
|
This is really great! One question, there are a number of functions not listed (for example, "SetLayer"), with these be eventually added?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2017(UTC) Posts: 569 Location: Manitoba Thanks: 112 times Was thanked: 313 time(s) in 178 post(s)
|
@ podworx
I've updated the commands to the most recent in vMix24
cheers, Richard
EDIT: I have removed the update for now until further testing.
|
|
|
|
vMix Forums
»
General
»
3rd Party Software and Development
»
vMix Script Builder App --Updated 11 July 2022--
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