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, _, _, second = AZ_GetSelectedMediaStartTimeSeconds(0, 3, 0)

Msg(second)

- SCRIPT -

retval, projID, selectItemID, secondOut = AZ_GetSelectedMediaStartTimeSeconds(projID, selectItemID, secondOut)

- API -

対応バージョン:

以降

MEDIA

AZ_GetSelectedMediaStartTimeSeconds

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

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(Int): Selected item ID

  • secondOut(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 is output

  • selectItemID(Int): The same as the input is output

  • secondOut(Float): The start position of the media (seconds)

bottom of page