Notifications
Clear all
[Closed] write info to a txt file
Jan 31, 2011 2:57 am
how can I store data to a txt from my batch export
for example
every time I export I want to store the time and each file exported
example
30-01-2011 23:48:45
– box01.3ds
– box02.3ds
– box03.3ds
and if I export again the file need to be like this
30-01-2011 23:48:45
– box01.3ds
– box02.3ds
– box03.3ds
30-02-2011 12:22:05
– box01.3ds
– box03.3ds
my script is this
exportfilelog = "C:\\TEMP\\ExporterLog.txt"
exportlog = openfile exportfilelog mode:"a+"
skipToNextLine exportlog
format "%
” (“localtime as string”) to:exportlog
skipToNextLine exportlog
for obj in selection do
(
format “%
” (obj.name) to:exportlog
)
close exportlog
thanks for the help