top of page
import sys
sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")
from AZSTOKE_SILVER_python import *
def Msg(parm):
RPR_ShowConsoleMsg(str(parm) + "\n")
directory,fileName,text,text_sz = AZ_ReadFile("F:/script/test2","AZSTOKE.txt","",1024)
Msg(text)
- SCRIPT -
directory,fileName,textOut,textOut_sz = AZ_ReadFile(directory,fileName,textOut,textOut_sz)
- API -
ID
FILE/FOLDER
AZ_ReadFile
対応バージョン:
1.0.0
以降
Read the specified text file
LUA
- API Detail-
▼Input value
directory (string): Destination folder path
fileName(string): File name including extension (AZSTOKE.txt)
textOut(string) : For output ""
textOut_sz(integer) : Set the output size, e.g. "1024"
▼Output value
retval(boolean): Success or failure of API execution
directory(string): same as input
fileName(string): same as input
textOut(string): The text of the loaded file
textOut_sz(integer) : same as input
bottom of page