MidiMon: the MIDI input dropdown will now automatically reload the script.
This commit is contained in:
parent
2cb4e30b0f
commit
c726e1280a
|
@ -85,7 +85,7 @@ midiMon: ; midi monitor gui with listviews
|
|||
gui,14:destroy
|
||||
gui,14:default
|
||||
gui,14:add,text, x80 y5, Midi Input ; %TheChoice%
|
||||
Gui,14:Add, DropDownList, x40 y20 w140 Choose%TheChoice% vMidiInPort gDoneInChange altsubmit, %MiList% ; (
|
||||
Gui,14:Add, DropDownList, x40 y20 w140 Choose%TheChoice% vMidiInPort gOnMidiMonInputChange altsubmit, %MiList% ; (
|
||||
Gui,14:Add, ListView, x5 r11 w220 Backgroundblack caqua Count10 vIn1, EventType|StatB|Ch|Byte1|Byte2|
|
||||
gui,14:Add, ListView, x+5 r11 w220 Backgroundblack cyellow Count10 vOut1, Event|Value|
|
||||
LV_ModifyCol(1, 105)
|
||||
|
@ -94,6 +94,14 @@ gui,14:Show, autosize xcenter y5, MidiMonitor
|
|||
|
||||
Return
|
||||
|
||||
OnMidiMonInputChange:
|
||||
Gui, Submit, NoHide
|
||||
If %MidiInPort%
|
||||
MidiInDevice := MidiInPort - 1
|
||||
WriteIni()
|
||||
Reload
|
||||
Return
|
||||
|
||||
; MIDI Rules dispatcher
|
||||
|
||||
MidiRules:
|
||||
|
|
|
@ -12,7 +12,7 @@ Double click on `MidiToMacro.ahk`.
|
|||
|
||||
To launch the program when Windows starts, you can add a shortcut to the file in your Start Menu\Startup folder.
|
||||
|
||||
The first time you launch the script, you will be prompted to choose a MIDI input device. If you need to change it later, you can right click on the system tray icon and click `MidiSet`. Or, you can open the `MidiMon`, change the input in the "Midi Input" dropdown menu, then reload the script manually.
|
||||
The first time you launch the script, you will be prompted to choose a MIDI input device. If you need to change it later, you can right click on the system tray icon and click `MidiSet`. Or, you can open the `MidiMon`, and change the input in the "Midi Input" dropdown menu; the script will automatically reload.
|
||||
|
||||
To see a log of recent MIDI input messages and any output events, right click on the system tray icon and click `MidiMon`. You can close this window, and the script will keep running in the background.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user