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
HandballAAAJ  
#1 Posted : Tuesday, January 10, 2023 9:15:14 AM(UTC)
HandballAAAJ

Rank: Newbie

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

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).
doggy  
#2 Posted : Tuesday, January 10, 2023 2:54:13 PM(UTC)
doggy

Rank: Advanced Member

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

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

Rank: Advanced Member

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

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