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
evolutionator  
#1 Posted : Wednesday, October 26, 2016 11:02:14 AM(UTC)
evolutionator

Rank: Newbie

Groups: Registered
Joined: 10/26/2016(UTC)
Posts: 2

hello
i was trying to use the vmix api to test how the automation works

using the web service is not easy but at least there is a list of functions you can work with
the vb.net objects, instead, would not even compile

i tried from vb .net 2015, it doesn't load the assembly
tried from c# 2015, loads the assembly and for example the object Overlay seems to work

but...

i can't try the code from the example or from other people because the function Find doesn't exist
this means that Input.Find or Overlay.Find give an error of "member not existing"
and it's so in vb, in c#, in vmix 17 and in vmix 16

i don't even know if there is to "connect" the objects to a running instance of vmix, or it is automatic
also when i try to create a Input object it requires a string/integer parameter which i guess is a way to identify something (whatever Input means)
but nothing works, only negative numbers let the constructor succeed and even then it seems to be an empty object

may i know at least where is this Find function? has it been removed?
thank you
pm  
#2 Posted : Wednesday, October 26, 2016 3:55:12 PM(UTC)
pm

Rank: Advanced Member

Groups: Registered
Joined: 11/28/2015(UTC)
Posts: 182

Thanks: 10 times
Was thanked: 32 time(s) in 27 post(s)
Hello

I think you misunderstood something. As I know vMix does not provide an assemply which you can load in Visual Studio.

The options you have for automating purposes:

If you want to control vMix from an external application you have to use the web api and the provided function calls. You can write your external app in any language.

If you want to control vMix from inside vMix you have to use the internal scripting functionality (settings -> scripting). There you can use two different syntaxes. One is vb.net, the other is web scripting. You can find all the necessary information in the help file.

Regards,
Patrick
evolutionator  
#3 Posted : Thursday, October 27, 2016 3:15:59 AM(UTC)
evolutionator

Rank: Newbie

Groups: Registered
Joined: 10/26/2016(UTC)
Posts: 2

oh, i didn't understand that, thank you
this explains some of the doubts i had while reading the guide

also registering as free basic edition i didn't see the scripting tab
now i'm trying the 60 days trial and i did find it

see you
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.