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")
_, _, length = AZ_GetSelectedMediaLength(0, 3, 0)
Msg(length)
- SCRIPT -
projID, selectItemID, lengthOut= AZ_GetSelectedMediaLength(projID, selectItemID, lengthOut)
- API -
ID
MEDIA
AZ_GetSelectedMediaLength
対応バージョン:
以降
Get the length (in seconds) of the specified selected media
LUA
- API Detail-
▼Input value
projID (ReaProject): Project ID
selectItemID(Int): Selected 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 "_"
selectItemID(Int): The same as the input will be handled with "_" as the output
lengthOut(Float): Media length (seconds)
bottom of page