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,_,_,_,mediaName,_ = AZ_GetSelectedTrackMediaName(0,1,0,"",1024)

Msg(mediaName)


- SCRIPT -

retval,_,_,_,mediaName,_ = AZ_GetSelectTrackMediaName(projID,selectTrackID,trackItemID,outMediaName,outMediaSize)

- API -

対応バージョン:

1.0.1

以降

MEDIA

AZ_GetSelectedTrackMediaName

Gets the name of the specified media in the specified selected track.

- API Detail-

▼Input value

  • projID(integer) : Project ID

  • selectTrackID(integer) : Select track ID

  • trackItemID(integer): Track media ID

  • outMediaName(string): Sets the frame of the string ("") only

  • MediaSize(integer) : Specifies the size (number of characters) of outMediaName. *Specify the size that will definitely fit (e.g. 1024).

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • projID (integer): Output the same as the input, but use "_"

  • selectTrackID (integer): Output the same as the input. Use "_" to handle it.

  • trackItemID (integer): Output the same as the input. Use "_" to handle

  • mediaName(string) : Name of the media

  • mediaSize(integer) : Output the same as the input, but with "_"

bottom of page