Belsinga
Netherlands
28 Posts |
Posted - 07/28/2010 : 03:46:57 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 8 SR 6 Operating System: Win XP
Hello,
When I run a .ogs file with a File selection dialog screen, I cannot run my script a second time in the same Project. Is there a way to let me execute this .ogs file more than once? My feeling is that it has something to do with the statement: "if(fdlog.MultiOpen() != 0/0)" but I don't understand it, I copied it from an example.
Regards, Boudewijn. (NL)
----------------------------- Code:
type -a; type -o new; fdlog.ShowComment = 0;
fdlog.UseGroup(Ascii);
fdlog.UseType(DAT);
fdlog.multiOpen.sort =1;
if(fdlog.MultiOpen() != 0/0) { win -c Book1; loop (ii, 1, fdlog.MultiOpen.Count)
{
win -t data Origin.otw ;//importdata$(ii) ; FDlog.Get(A, ii, 1); %N=%A; FDlog.Get(A, ii);
open -w %A; win -r %H %N; type -a %N; wks.col1.type=4; wks.col2.type=1; wks.col3.type=4; wks.col4.type=1; GraphingProgram(); //script that uses the data lab -xb } } |
|