top of page

function Msg(param)

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

end


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

retval = reaper.AZ_SetMediaItemActiveTakeCopy(mediaItem,1,4)

- SCRIPT -

retval = reaper.AZ_SetMediaItemActiveTakeCopy(mediaItem,setTrackID,setPosition)

- API -

ID

MEDIA

reaper.AZ_SetMediaItemActiveTakeCopy

対応バージョン:

2.0.0

以降

Copy the active take of the specified media item.

- 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

bottom of page