Hi Loick,
The solution is to create a script file with sections of code. If your import code is in one section called from another, that section of code will stop running, but it will return to the section that called it and then the remaining script will continue running.
For example, create a LabTalk script file (OGS) with at least two sections of code:
[main]
if(run.section(,import) == 0)
type -b "File import was successful";
else
type -b "File failed to import";
type -b "Regardless of success or failure of file import, I will see this message";
return 0;
[import]
open -w %B%A;
return 0;
Laurie
OriginLab Technical Support