Old Today, 06:14 PM   #1
J Reverb
Human being with feelings
 
Join Date: Jul 2009
Posts: 588
Default Q. How to use "I_MIDIFLAGS" ?

It seems that MIDIFLAGS doesn't carry through in for loop in my code.
Maybe someone can help, I can set flag from send to first track but not the rest. Try with 4-5 new tracks selected. Any pointers would be great.

Thank you.

Code:
          for i = 1, reaper.CountSelectedTracks() -1 do  
          local tr = reaper.GetSelectedTrack(0,0)
          local next_trk=reaper.GetSelectedTrack(0,i)
          reaper.CreateTrackSend(tr,next_trk)
          reaper.SetTrackSendInfo_Value(tr,0 ,0, "I_MIDIFLAGS", 0 )                          
          end
__________________
I recently got invited to a flat earth convention in Sydney but due to it being half way around the world, in the end i didn't bother.
J Reverb is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.