View Single Post
Old 08-19-2011, 09:34 AM   #215
G__ROW
Human being with feelings
 
Join Date: Oct 2010
Posts: 7
Default

Thanks gofer, those command codes do seem to open the editor, but it's not opening the selected track I set with the API. If I manually select a track it will open that track, but not if I set the selected with code.

Here is what I'm doing:

m_pREAPER->SetTrackSelected(m_pREAPER->CSurf_TrackFromID(nIndex, true), true);
m_pREAPER->Main_OnCommand(40194, 0);

I can see that the track index being sent into CSurf_TrackFromID() is getting selected, but Main_OnCommand(40194, 0) is opening the last manually selected track.
G__ROW is offline   Reply With Quote