top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")


retval,projID,selectItemID,endTimeOut = AZ_GetSelectedMediaEndTime(0,1,0)

Msg(endTimeOut)

- SCRIPT -

retval,projID,selectItemID,endTimeOut = AZ_GetSelectedMediaEndTime(projID,selectItemID,endTimeOut)

- API -

MEDIA

AZ_GetSelectedMediaEndTime

Gets the end position of the specified selected media in seconds.

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(Int): Selected item ID

  • endTimeOut(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

  • endTimeOut(Float): End position of the media (seconds)

bottom of page