the script as fallows
(
--I want this script to run automatically each time I save a bitmap file from rendered frame window or from render setup dialog
--I also want this script to write only one file when sequence of images are rendered
OutputText = (createFile "C://temp/output.txt")
-- I want to save the output.txt to render output folder
-- I want to give output.txt same name with Render Output file name
Rend = classof renderers.current
format "Renderer= % \n" Rend to:OutputText
if rendSaveFile== true then
(
Renderoutput = rendOutputFilename
format "RenderOutput= % \n" Renderoutput to:OutputText
)
if maxFileName !="" then
(
mpath = maxFilePath
mname = MaxFileName
format "maxfilepath= %% \n\n" mpath mname to:OutputText
)
close OutputText
)
barigazy · 2012-10-05