vMix Forums
»
General
»
General Discussion
»
it is posible return state of SetImageVisible?
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto Can I know if it is visible or not?. Make a getter
No
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 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
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
Hello, I can not convert 0 or 1 of a text in a state (change color) of a button? 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto 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
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: isidto 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)!
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/29/2021(UTC) Posts: 16 Location: valencia Thanks: 2 times
|
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
it is posible return state of SetImageVisible?
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