top of page
- API -
reaper.AZ_SetMediaItemActiveTakeCopy(mediaItem, setTrackID, setPosition)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
setTrakID(integer): The track to set
setPositon(number): start position (seconds)
▼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_SetMediaItemActiveTakeCopy(mediaItem,1,4)
MEDIA
AZ_SetMediaItemActiveTakeCopy
Supported versions:
2.0.0
onwards
Copy the active take of the specified media item.
bottom of page