Notice the last File.openDialog() parameter. It is set to true. So result is an array of files, even if one chosen.
Suggest to set this parameter to false
so code can stay as it is;
or rebuild a code,
so 1st file is myTransFile and place() method suppose to be inside a loop (i.e. for loop)
Thanks for replying. I tried that change -- still fails.
Hardcoding the file path and name fails as well
(I do get a "missing 4 fonts" dialog box -- could that be causing the error?)
check if exactly this file causing error or any (even plain.txt) does.
It does -- but I think I found the problem.
The original text had overflowed into a second frame -- once I deleted the second frame the file imported correctly.
Thanks for your help