top of page
- API -

length= reaper.AZ_GetMediaLength(projID,itemID)

- API Detail-

▼Input value

projID(ReaProject): Project ID

itemID(integer) : Media item ID

cmdID(integer) : Action command ID


▼Output value

retval(boolean): Success or failure of API execution

- SCRIPT -

function Msg(param)

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

end


reaper.AZ_ActionSelectedMediaIdSelectKeep(0,0,40204)

MEDIA

reaper.AZ_GetMediaLength

Supported versions:

1.0.3

onwards

Get the length (in seconds) of the specified media

bottom of page