vMix Forums
»
General
»
Feature Requests
»
vMix 18: Send hotkey & API commands from vMix
Rank: Advanced Member
Groups: Registered
Joined: 4/6/2016(UTC) Posts: 84 Location: Sweden Thanks: 25 times Was thanked: 18 time(s) in 13 post(s)
|
1/2: Add shortcut function to send keyboard/hotkey command to other applications on the same machine as vMix, using vMix HID controllers (Midi, Shuttle, XBox controller). 2/2: Add shortcut function to send web/API commands to other applications from vMix
Purpose is to control other applications from MIDI devices, without use of additional software.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/24/2015(UTC) Posts: 370 Location: Netherlands
Thanks: 16 times Was thanked: 81 time(s) in 72 post(s)
|
With the script tab you can write a vb.net script to do what you want and bind that to a key with shortcuts. Check THIS topic for an example.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/6/2016(UTC) Posts: 84 Location: Sweden Thanks: 25 times Was thanked: 18 time(s) in 13 post(s)
|
Yes, But AFAIK, scripting is only available in 4k & PRO editions?
Also, I know I forgot to specify it in my original post, but I would like to be able to "press-and-hold" a key combination while MIDI tone is on. I'm not sure that is possible using the scripting feature?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/24/2015(UTC) Posts: 370 Location: Netherlands
Thanks: 16 times Was thanked: 81 time(s) in 72 post(s)
|
Quote:Yes, But AFAIK, scripting is only available in 4k & PRO editions? Sure, it is an advanced function. Well worth it. Quote:I'm not sure that is possible using the scripting feature? Check out the My.Computer.Keyboard.SendKeys() function. You can add multiple keys with My.Computer.Keyboard.SendKeys("key1" + "key2" + "etc") special keys are written like : BACKSPACE {BACKSPACE} or {BS} BREAK {BREAK} CAPS LOCK {CAPSLOCK} CLEAR {CLEAR} DELETE {DELETE} or {DEL} DOWN ARROW {DOWN} END {END} ENTER (numpad) {ENTER} ENTER ~ ESC {ESCAPE} or {ESC} HELP {HELP} HOME {HOME} INS {INSERT} LEFT ARROW {LEFT} NUM LOCK {NUMLOCK} PAGE DOWN {PGDN} PAGE UP {PGUP} RETURN {RETURN} RIGHT ARROW {RIGHT} SCROLL LOCK {SCROLLLOCK} TAB {TAB} UP ARROW {UP} F1 through F15 {F1} through {F15} I did not test this, so no guarantees.
|
1 user thanked Mathijs for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 4/6/2016(UTC) Posts: 84 Location: Sweden Thanks: 25 times Was thanked: 18 time(s) in 13 post(s)
|
Quote:Sure, it is an advanced function. Well worth it. I agree. I have Pro. But sending a hotkey could be a good function for anyone. Quote:...special keys are written like:... That is good and valid info that I can make use of for some other things. Thank you. However, as far as I can see, vMix will trigger the script on trigger (key/midinote) "down". The script will then run its life from that point and to it's end - without any further input. As far as I can figure out, it is not possible to use this scripting solution for functions like an external intercom using keys for PTT (Push-to-talk) or the like. To effect, a script will only be able to "send-and-release" a hotkey combination. It will not be able to "send-and-hold-while-vMixTriggerActive". If anyone can show me a script method of "send-and-hold-while-vMixTriggerActive", I will be most grateful. Best,
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 5/24/2015(UTC) Posts: 370 Location: Netherlands
Thanks: 16 times Was thanked: 81 time(s) in 72 post(s)
|
Isn't a on-off toggle a good middle way then? If you want to talk, push it once. Ready talking, push again.
Or maybe you can get exactly what you want, if the midi device you use also registers (key/midinote) "up". With key down you open the channel, with key up you close it.
|
|
|
|
vMix Forums
»
General
»
Feature Requests
»
vMix 18: Send hotkey & API commands from vMix
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