Hey Vince! We're almost there!!!
So, for documentation sake:
REMOTE = Computer that you want to have some program to run
CONTROL = Computer where you will be using Macro Buttons to run stuff in REMOTE
1. Configure the Macro Button In the REMOTE computer that will be performing the tasks with the system.execute, other macros etc.
2. Configure and enable VBAN in your REMOTE computer. Ensure to enable the incoming MIDI1 stream. Fill the "IP Address From" field accordingly, containing the IP address of your PC that you will control via Macro Buttons. Leave both General VBAN, MIDI1 and Command1 as enabled.
--
3. In the CONTROL PC, Open Macro Buttons, click on the "Macro" icon at the top left of the Macro Buttons - select "VBAN Configuration"
4. In MIDI1, check the "on" box, and add the IP address of the REMOTE PC. Click OK.
5. Change "Button Type" from Push Button to "2 Positions"
6. Still in CONTROL PC, choose any button, and in "Request for Button ON/Trigger IN" define:
Code: Select all
System.SendMidi("vban1", "note-on", 1, 64, 64);
7. in "Request for Button OFF/Trigger OUT" define:
Code: Select all
System.SendMidi("vban1", "note-on", 1, 64, 64);
(yes, it's the
same content)
--
8. Back to the REMOTE PC, right-click the key of interest that you want to tie together with the CONTROL button. Check the box "Learn (from MIDI mapping device)". DO NOT CLICK OK YET.
--
9. In CONTROL PC, hit the button that you want to control
--
10. Back to REMOTE - it should show "#1 Note On E3 (64)" in the textbox below "Learn". Click OK.
--
11. Click on your CONTROL PC at will! State changes immediately.
So Vince, this is what I came with. Is this correct/complete?
It works perfectly with 2-position buttons.
HOWEVER; I didn't manage to make it work finely with push-button commands: As soon I send the message, the button gets stuck as pressed at the Remote PC. I have to press again at the remote to the button leave the pressed state at the remote.
Any tricks to get around it?
Thanks again!!!