top of page


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, _, _, _, second = AZ_GetSelectedTrackMediaStartTimeSeconds(0, 1, 1, 0)



retval, projID, selectTrackID, trackItemID, secondOut = AZ_GetSelectedTraackMediaStartTimeSeconds(projID, selectTrackID, trackItemID, secondOut)

- API -



Get the start position of the specified media in the specified selected track in seconds

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectTrackID (Int) : Selected track ID

  • trackItemID(Int): Track 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

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

  • trackItemID(Int): The same as the input

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

bottom of page