Hi,
I would like to create a function that enables me to pick multiple files, retrive the local pathway to them and then store this pathway as a string in order to import them to JMP.
dtname = {};
dt.file = Pick File (...);
//select the dir.
path = Pick Directory ("Select a directory.");
for (i=1, i<= N Items(dt.file), i++,
//String of my file name
dtname = dt.file << Get Name ;
Open (
path||"\"||dtname,
//the import settings should predefine which row is header, new column etc.
Import Settings(..)
)
)
when executing this I get a return message that says "Send Expects Scriptable Object in access or evaluation of 'List*...."
What am I doing wrong? Do I have to eval my dt.file = Pick File (...); function?