Hi,
I'm creating the following script for a journal:
OKScript = Expr(
win1 << CloseWindow;
lf = ListF << GetItems;
If( N Items( lf ) < 1,
Warning( "ERROR: You need to select at least one file" );
Throw();
);
For( i = 1, i <= N Items( lf ), i++,
print(lf[i]);
dt=Open(lf[i]);
);
);
);
lf holds the list of file names that the user selected from a directory. I keep getting a 'JMP Alert: file not found ' error each time I click the okay button when I have selected the file.
Any help would be appreciated.