Origin Ver. and Service Release: OriginPro 2017 SR0
Operating System: Windows 8.1
Hello. I'm importing multiple .opj files through the following script. Through the manual clicking in project explorer I can access the date of creation of files that i'm importing. Is there a way to copy/import such date to the columns comment in the final file?
string sFiles$;
{dlgfile g:="*.opj" multi:=1 fname:=sFiles$;}
if (sFiles.GetLength() > 0)
{
for (int ii = 1; ii <= sFiles.GetNumTokens(CRLF); ii++)
{
string sFile$ = sFiles.GetToken(ii)$;
sFile$=;
impOPJ fname:=sFile$ info.wkspage:=Default1 info.wks:=Data_S1 info.cols:={1,2,3,4,5} options.FirstMode:=1;
}
type (the end of the import);
}