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, _, _, frame = AZ_GetSelectedMediaStartTimeFrame(0, 0, 0)

Msg(frame)

- SCRIPT -

retval,projID,selectItemID,frame = reaper.AZ_GetTrackMediaStartTimeFrame(projID,selectItemID,frameOut)

- API -

ID

MEDIA

AZ_GetSelectedMediaStartTimeFrame

対応バージョン:

以降

Get the start frame of the specified selected media

- API Detail-

▼Input value

  • projID(ReaProject): Project ID

  • selectItemID(int): Selected media ID

  • frameOut(int): 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

  • frameOut(int) : frame value

bottom of page