top of page
import sys
sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")
from AZSTOKE_BRONZE_python import *
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
retval,_,_,length = AZ_GetMediaLength(0,0,0)
Msg(length)
- SCRIPT -
retval, projID, itemID, lengthOut = AZ_GetMediaLength(projID, itemID, lengthOut)
- API -
対応バージョン:
1.0.1
以降
MEDIA
AZ_GetMediaLength
Get the length of the specified media
LUA
- API Detail-
▼Input value
projID (ReaProject): Project ID
itemID(Int): Item ID
lengthOut(Float): Any number (0 is OK)
▼Output value
retval(Boolean): Whether the API execution was successful or not
projID (ReaProject): The same as the input will be output with "_"
itemID(Int): The same as the input will be output as "_".
lengthOut(Float): Media length (seconds)
bottom of page