vMix Forums
»
General
»
General Discussion
»
VBscript code for enabling/disabling a specific trigger on an input
Rank: Advanced Member
Groups: Registered
Joined: 1/14/2018(UTC) Posts: 153 Location: Texas
Thanks: 6 times Was thanked: 9 time(s) in 5 post(s)
|
Howdy! Would anyone be willing to share a script in vMix that will enable or disable trigger #2 in input #3?
I am stumped. Thank You in advance! :)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,245 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: kevev Howdy! Would anyone be willing to share a script in vMix that will enable or disable trigger #2 in input #3?
I am stumped. Thank You in advance! :) Code:if triggerenable/disable shortcut is available
use that
else
use Trigger Manager
end if
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/14/2018(UTC) Posts: 153 Location: Texas
Thanks: 6 times Was thanked: 9 time(s) in 5 post(s)
|
Originally Posted by: doggy Originally Posted by: kevev Howdy! Would anyone be willing to share a script in vMix that will enable or disable trigger #2 in input #3?
I am stumped. Thank You in advance! :) Code:if triggerenable/disable shortcut is available
use that
else
use Trigger Manager
end if
lol now that is very funny! How about a real script example? :)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 545 Location: athens Thanks: 130 times Was thanked: 74 time(s) in 70 post(s)
|
Originally Posted by: kevev Originally Posted by: doggy Originally Posted by: kevev Howdy! Would anyone be willing to share a script in vMix that will enable or disable trigger #2 in input #3?
I am stumped. Thank You in advance! :) Code:if triggerenable/disable shortcut is available
use that
else
use Trigger Manager
end if
lol now that is very funny! How about a real script example? :) Hello. Give real data what you need in order to receive real answer. Other than this.. No you cant do it directly. There is no way in vmix api to go in a automatic way in a specific input and check-uncheck the tick in a trigger. Only manually via the input or the trigger manager. I hope that in future vmix team will give us this feature For now.. Any trigger is actually a shortcut that does something. So in order to do what you need is to write a script that in some conditions that exist or not,will run or not the shortcut-trigger Unfortunatelly no shortcut to do the auto check-uncheck for a trigger
|
1 user thanked nikosman88 for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/14/2018(UTC) Posts: 153 Location: Texas
Thanks: 6 times Was thanked: 9 time(s) in 5 post(s)
|
Originally Posted by: nikosman88 Originally Posted by: kevev Originally Posted by: doggy Originally Posted by: kevev Howdy! Would anyone be willing to share a script in vMix that will enable or disable trigger #2 in input #3?
I am stumped. Thank You in advance! :) Code:if triggerenable/disable shortcut is available
use that
else
use Trigger Manager
end if
lol now that is very funny! How about a real script example? :) Hello. Give real data what you need in order to receive real answer. Other than this.. No you cant do it directly. There is no way in vmix api to go in a automatic way in a specific input and check-uncheck the tick in a trigger. Only manually via the input or the trigger manager. I hope that in future vmix team will give us this feature For now.. Any trigger is actually a shortcut that does something. So in order to do what you need is to write a script that in some conditions that exist or not,will run or not the shortcut-trigger Unfortunatelly no shortcut to do the auto check-uncheck for a trigger We have a show that has multiple segments. Segment 1, 2, 3, 4. Between the segments we have a bump out images with music, then automatically transition to a commercial video, then automatically transition to a bump in image with music. The bump in image has a trigger that on transition out after 2 seconds will enable overlay 2 which is the title of the next segment. We manually cut to a camera after the bump in image music overlay has completed. After Segment 4 we have the option of 2 different closing segments. I am not sure of the best way to handle this closing segment situation to allow for automation of the 2 second delayed overlay as this overlay could be one of 2 overlays depending on which closing segment we decide to use. We cut to an image that has 3 triggers: Trigger 1 is music Trigger 2 is OnTransitionOut OverlayInput2In InputX Delay 2000 Trigger 3 is OnTransitionOut OverlayInput2In InputY Delay 2000 We would like to have 2 buttons: Button A will Enable Trigger 2 & Disable Trigger 3 Button B will Disable Trigger 2 & Enable Trigger 3 This way when we cut to a camera the proper overlay will automatically.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,245 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: kevev
We cut to an image that has 3 triggers:
Trigger 1 is music Trigger 2 is OnTransitionOut OverlayInput2In InputX Delay 2000 Trigger 3 is OnTransitionOut OverlayInput2In InputY Delay 2000
We would like to have 2 buttons: Button A will Enable Trigger 2 & Disable Trigger 3 Button B will Disable Trigger 2 & Enable Trigger 3
This way when we cut to a camera the proper overlay will automatically.
Use Dynamicx (x is number) for input in your trigger, use SetdynamicInputx to the desired inputnumber with a shortcut
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
VBscript code for enabling/disabling a specific trigger on an input
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