import sys
sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")
from AZSTOKE_BRONZE_python import *
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
mediaItem = AZ_GetMediaItemSelect(0,0,0)
item,nameOut,nameOut_sz = AZ_GetMediaItemName(mediaItem,"",1024)
Msg(nameOut)
- SCRIPT -
item,nameOut,nameOut_sz = AZ_GetMediaItemName(item,nameOut,nameOut_sz)
- API -
対応バージョン:
2.0.0
以降
MEDIA
AZ_GetMediaItemName
Gets the name of the specified media item.
LUA
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
nameOut(string): Places a frame for the media name (string) ("") only
nameOut_sz(integer): Specify the size (number of characters) *Specify the size that will definitely be included (e.g. 1024)
▼Output value
retval(bool): Whether the API execution was successful or not
item(MediaItem): The same thing as the input is output. Can be handled with "_"
nameOut(string): Media name
nameOut_sz(integer): The same as the input is output. Can be handled with "_".