In Origin 6.0 SR1 on Win-NT4.0with SP5 I try to open existing projects on a network drive (files are not write-protected) within a loop and perform some calculations, then writing the results of the calculations into a worksheet that I created before and set as a system window to keep open during the loop.
In Origin 5.0 on the same machine it works fine but in Origin 6.0 as soon as the project should be opened and I can see the frame of the graph in the project to open I get a crash. The script -with comments- I use is:%j=00;%m=03;k=31;%t=01;%B=networkpath;
win -t data origin sfcwi%j%m;
sfcwi%j%m!page.sysWin=1;
#works fine till here
loop (count,$(%t),k)
{
doc -s;
doc -o %B\filename%t.opj;
#path,filename OK
#status is 'Appending to projekt UNTITLED'
#run.section(,calculation);
if $(%t)<9 %t=0$($(%t)+1);
else %t=$($(%t)+1);
};
Again, in 5.0 this works, why not in 6.0?
Thanks in advance
Markus