It seems that Reaper has an internal 'last touched envelope'..., but I don't see any API reference to this. If you watch the licecap, you can see that I'm copying volume envelope data from the 1st track, then I click the 2nd track, which makes the 2nd track the last touched track. You can also see that the volume envelope on the 1st track is NOT selected when I paste..... but Reaper is STILL pasting the envelope data back on the 1st track's volume envelope???
Is there a way to prevent this from happening?