Closed ARkaine2 closed 1 year ago
Okay, you can try this.
function main()
midieditor = reaper.MIDIEditor_GetActive()
if midieditor == nil then return end
take = reaper.MIDIEditor_GetTake(midieditor)
if take == nil then return end
if reaper.TakeIsMIDI(take) == false then return end
reaper.MIDIEditor_OnCommand( midieditor, 40443 )
pos = reaper.GetCursorPositionEx(0)
reaper.SetEditCurPos(pos, true, true)
end
main()
zaibuyidao, It works perfect! Thanks a lot. :)
Please help make what is decribed in subj.
By default there are no actions in Reaper to do it (and I checked many scripts -- they don't do it too).
Only this one script moves cursor in such "way" that I need (with "seeking"), but in another direction (to start of first note):
I need to move edit cursor to mouse cursor with "seeking".
This means that when project is playing after moving cursor in such way project will play from new/moved cursor position.
I will be grateful.