Reply To: Send whole page at once

Home Forums General Panels, Components, Macros Send whole page at once Reply To: Send whole page at once

  • Topics: 45
  • Replies: 550
  • Total: 595
  • ★★★

Yes, this is possible. If needed, I’m also advising you to mark the modulators you want to send with a specific Custom Modulator index Group.
Here is the code:

-- Loop on all modulators in custom group 2
n = panel:getNumModulators()
for i=0,n-1 do
	local mod = panel:getModulatorByIndex(i)
	-- local Name= L(mod:getName())
	if mod:getPropertyInt("modulatorCustomIndexGroup") == 2 then 
		-- console(tostring(i.." "..Name))

To get the Midi Controller Number use:

Pay attention that not all modulators have a Midi Message (uiLabels…); therefore the trick is to only take the “Dynamic” modulators.

Good luck 😉

Do NOT follow this link or you will be banned from the site!