Live Production Software Forums

Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Tuesday, January 10, 2023 9:15:14 AM(UTC)

Rank: Newbie

Groups: Registered
Joined: 5/2/2022(UTC)
Posts: 5

Was thanked: 1 time(s) in 1 post(s)
Undoubtedly, one of the things that vMix should improve is code editing for development. Currently, it is a notepad that when saving changes does a syntax check.

I'm a .NET application developer and I've been doing it in Visual Basic for many years. To try to find a better way to develop, I'm making an external application that allows visualization using colors for syntax highlighting and most importantly, appending vMix's own functions using API.Function.

Below, you can see...

1. A variable is created
2. A value is assigned
3. Type "vmix."

This action brings all the vMix functions listed on the following github site https://github.com/jensstigaard/vmix-function-list

Autocomplete.png (22kb) downloaded 2 time(s).

When selecting a function, SetText for this example, the system converts the line with the expression that vMix needs to work as seen in the following image.

Autocompleted.png (21kb) downloaded 1 time(s).

If vMix is ​​running, you can connect to it and load all the input's from your project. If they are of type GT, all the Text objects of that Input are loaded in the "Text fields" combo. If this action is prior to inserting the autocomplete "vmix.", it replaces the names with the ones selected in the combos.

Finally, in this example, you should just change the value to the variable as shown below

Autocompleted variable.png (21kb) downloaded 2 time(s).

Edit 1/10/22: Some new improvements

Input Find.png (13kb) downloaded 0 time(s).

Input Find example.png (22kb) downloaded 1 time(s).
#2 Posted : Tuesday, January 10, 2023 2:54:13 PM(UTC)

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 920 time(s) in 759 post(s)
While colors for syntax highlighting available vMix functions missing in "Visual Studio Code"
#3 Posted : Tuesday, January 10, 2023 8:21:08 PM(UTC)

Rank: Advanced Member

Groups: Registered
Joined: 2/23/2019(UTC)
Posts: 511

Thanks: 62 times
Was thanked: 119 time(s) in 108 post(s)
Looks good!
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.