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,projID,trackID,trackItemID,endTimeOut = AZ_GetSelectedTrackMediaEndTime(0,1,1,0) 

Msg(endTimeOut)

- SCRIPT -

retval,projID,selectTrackID,trackItemID,endTimeOut = AZ_GetSelectedTrackMediaEndTime(projID,selectTrackID,TrackItemID,endTimeOut)

- API -

対応バージョン:

以降

MEDIA

AZ_GetSelectedTrackMediaEndTime

Get the end 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

  • 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 "_"

  • selectTrackID(int): The same as the input will be handled with "_" as the output

  • trackItemID(Int): The same as the input will be handled with "_" as the output

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

bottom of page