vMix Forums
»
General
»
General Discussion
»
Is there an API for triggers?
Rank: Advanced Member
Groups: Registered
Joined: 9/30/2020(UTC) Posts: 53 Location: Manchester Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
One of the things we tend to get forget each week is setting full screen on triggers on all new powerpoints. I'd like to automate that task with a script, but I don't see an API for triggers anywhere. Is there one? Or is there another way to approach this?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: DThompson55 One of the things we tend to get forget each week is setting full screen on triggers on all new powerpoints. I'd like to automate that task with a script, but I don't see an API for triggers anywhere. Is there one? Or is there another way to approach this? depends on what you want to trigger on specifically
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/30/2020(UTC) Posts: 53 Location: Manchester Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
Specifically, I want to trigger on Transition In, Function=FullscreenOn, Input=Preview, Duration=500, Delay=250
What I'm thinking of is a little script that parses all the inputs, looks for the ones that are powerpoints, and then setting the above trigger on each of them.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 496 Location: athens Thanks: 121 times Was thanked: 70 time(s) in 66 post(s)
|
Originally Posted by: DThompson55 Specifically, I want to trigger on Transition In, Function=FullscreenOn, Input=Preview, Duration=500, Delay=250
What I'm thinking of is a little script that parses all the inputs, looks for the ones that are powerpoints, and then setting the above trigger on each of them. Hello. Are you use the program called Bitfocus companion? If yes,if i understand well what you need to do, no need to make a complicate script as you can do it with 1 companion trigger like this On transition in means that the pptx will be on program output so when it be it can do the action you need and with 2nd same trigger you can check the invert button to un-do the action if when you do transition out,you need the action to be un-done. pptx.png (37kb) downloaded 0 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: DThompson55 Specifically, I want to trigger on Transition In, Function=FullscreenOn, Input=Preview, Duration=500, Delay=250
What I'm thinking of is a little script that parses all the inputs, looks for the ones that are powerpoints, and then setting the above trigger on each of them. From what i understand: When a powerpoint is in preview you want to activate the full screen A small script can read what input is on Preview Check type of this input and activate fullscreen if its a powerpoint (or anything else with availabel functions) rinse and repeat
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/30/2020(UTC) Posts: 53 Location: Manchester Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
I found what I wanted. It's not using an API per se, but it does the job. Basically, after vmix is shut down I can parse the XML file to locate all of the powerpoint inputs, and from there I can make sure full screen is turned on, and while I'm in there I can set other properties that we always want powerpoints to have. Then restart vMix and it does exactly what I need.
If vmix had some way to set default properties globally that would have solved it perhaps more elegantly. But this is OK.
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Is there an API for triggers?
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