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_GetTrackMediaName(0,1,0,"",1024)
Msg(mediaName)
- SCRIPT -
retval,_,_,_,mediaName,_ = AZ_GetTrackMediaName(projID,trackID,trackItemID,outMediaName,outMediaSize)
- API -
ID
![](https://static.wixstatic.com/media/fc32ca_ce420e9bb52c45e180e78eae3346c302~mv2.png/v1/fill/w_61,h_61,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/01_BRONZE.png)
MEDIA
AZ_GetTrackMediaName
対応バージョン:
1.0.1
以降
Get the name of the specified media in the specified track.
LUA
- API Detail-
▼Input value
projID(integer) : Project ID
trackID(integer) : 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 "_"
trackID (integer): Output the same as the input, with "_"
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 "_"