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
isidto  
#1 Posted : Wednesday, March 3, 2021 5:53:52 AM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
Hello,


Quote:
Api.Function ("SetImageVisible", "DATA", "PREV")


It activates or deactivates images of a template.
Can I know if it is visible or not?. Make a getter



FInally I can recover value via text

Quote:
Api.Function("SetImageVisible","DATOS","PREV")

Dim one as integer = integer.parse(Input.Find("DATOS").Text("pre.Text"))

If one=1 Then
API.Function("SetText","DATOS",SelectedName:="pre.Text",Value:="0")
else
API.Function("SetText","DATOS",SelectedName:="pre.Text",Value:="1")

End If

console.writeline(one)


HERE IS THE QUESTION
But On the other hand there is some way to connect it to an activator to see in the Stream Deck if it is 0 or 1 or change the color



Sorry my bad english
Reggards
doggy  
#2 Posted : Wednesday, March 3, 2021 8:40:30 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post

Can I know if it is visible or not?. Make a getter



No
isidto  
#3 Posted : Wednesday, March 3, 2021 8:56:00 AM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
hello,

But On the other hand there is some way to connect it to an activator to see in the Stream Deck if it is 0 or 1 or change the color

reggards
doggy  
#4 Posted : Wednesday, March 3, 2021 9:08:29 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
If one can not get a status or some sort of indicator there is nothing more one can do as one has nothing to begin with
isidto  
#5 Posted : Wednesday, March 3, 2021 10:26:16 AM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
Hello,

I can not convert 0 or 1 of a text in a state (change color) of a button?

UserPostedImage

resume:
Global variables cannot be stored.
You cannot create states to map to buttons.

It is very little understandable that a program as robust as vmix that works very well, does not have something so simple for programmers


reggards
doggy  
#6 Posted : Wednesday, March 3, 2021 6:53:42 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post
Hello,
It is very little understandable that a program as robust as vmix that works very well, does not have something so simple for programmers


You are just joking right ? especially the last word
isidto  
#7 Posted : Wednesday, March 3, 2021 7:19:49 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times
Joking about what?

Perhaps I have not explained myself well, all the programs on this planet have an interpreter language and can store global variables.

Maya -> Mel and Pyhton
Max -> Maxscript
Adobe -> Javascript
Brainstorm Multimedia ---> Python

I DO NOT think it is that difficult to create Activators with global variables to change color of buttons ... Perhaps my level of english distor the info.

It is not a joke, to say that the program seems very good to me, but I see insufficient and very rudimentary the theme of interpreter language

The trial and error of the script part is very slow, with many clicks ...

I don't know why you take it so personal, maybe you should see things in perspective

And if you think I don't know what I'm talking about, I've been making virtual sets for exactly 21 years.

demo 2012

demo 2001


With adobe air 11 years ago



With adobe after effecs plugin 6 years ago



Therefore after reviewing the program for a whole week, I can tell you with certainty that there are parts to improve and one of them is the interpreter language, they should analyze other programs and copy the possibilities.

It's not a joke, it's a recommendation
doggy  
#8 Posted : Wednesday, March 3, 2021 8:18:25 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: isidto Go to Quoted Post

Therefore after reviewing the program for a whole week, I can tell you with certainty that there are parts to improve and one of them is the interpreter language, they should analyze other programs and copy the possibilities.


With all due respect , one week of playing with vMix is NOT that long of a time to figure out the many possibilities of the software at all let alone all the possibilities regarding (shortcut) function (usable within scripts) etc. Proof you constantly keep asking can i do this or that meaning , saying a function doesn't work (badly written) you haven't even checked the functions list and tested them (even i haven't).

When it comes to scripting it is limited in the sense you can only do linear coding ( no subroutines , own functions etc) but guess what: the way one was able to script ( and still is ) outside of vMix is creating VB.Net application (which i personally prefer as no need for 4K or Pro) which also lets you retrieve info and send commands to vMix (httprequests) so yes one can go very far with that. with that you can do with variabels whatever you want, save as presets and so much more

Yes i also miss sometimes a global variable for a little script but there are ways around that , save your data to a unused title (for temporary option) , a text file whatever you can come up with .. problem solved, one can even call external apps from within a vMix script.

vMix scripting is vb.net coding (interpreter language) with a few added vMix specific functions and one can interact between between vMix and a full fletched vb.net coded application (visual studio) or other language coded app

Maybe look into coding for interacting between your code and code for the streamdeck https://developer.elgato.../create-your-own-plugin/

It never hurts to suggest ideas to the vMix team , but one has to be clear and have a good argument defending your case . They do take them into considerations but they also prioritize based on popularity of general need and practicality. The more applicable they are to other users the more chance there is it might be considered for integration (not just : I need).

Not this way:

Quote:
resume:
Global variables cannot be stored.
You cannot create states to map to buttons.
It is very little understandable that a program as robust as vmix that works very well, does not have something so simple for programmers


Again one week is not enough (reason why a trial is 60 days)!
isidto  
#9 Posted : Wednesday, March 3, 2021 8:48:47 PM(UTC)
isidto

Rank: Member

Groups: Registered
Joined: 1/29/2021(UTC)
Posts: 16
Spain
Location: valencia

Thanks: 2 times


Thanks for everything
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.