top of page
- API -

reaper.AZ_SetMediaItemMoveToTrack(mediaItem,moveTrakID)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • moveTrakID(integer): destination track

▼Output value

  • retval(bool): Whether the API execution was successful or not

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)

reaper.AZ_SetMediaItemMoveToTrack(mediaItem,1)

MEDIA

AZ_SetMediaItemMoveToTrack

Supported versions:

1.0.3

onwards

Move the track of the specified media item

bottom of page