top of page

function Msg(param)

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

end


length = reaper.AZ_GetSelectedMediaLength(0, 3)

Msg(length)

- SCRIPT -

length= reaper.AZ_GetSelectedMediaLength(projID, selectItemID)

- API -

ID

MEDIA

reaper.AZ_GetSelectedMediaLength

対応バージョン:

以降

Get the length (in seconds) of the specified selected media

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(integer): Selected item ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • length(number): Length of the media (seconds)

bottom of page