hum...
This is just a test script I arrived at after trying for a very long time to understand why my real case wasn't working as expected, and you've got it right here ! But you were right to ask for the full script !
It seems the problem is with an INCLUDE statement at the beginning of my real case "LongTask" script file.
Replacing the line with
Code: Select all
INCLUDE 'E:\Partage\Mes Programmes\XYplorer\XYdata\!Scripts\Inc\Tools.xyi'
solved it.
I guess this has something to do with relative paths, and the fact that my XY folder structure isn't the default one.
The "longTask" script is actually looking for the included file in "E:\Partage\Mes Programmes\XYplorer\Data\Scripts\inc", the "default" location, when it actually in "E:\Partage\Mes Programmes\XYplorer\XYdata\!Scripts\Inc".
When it isn't found, the script just stops loading (or so it seems) and no further lines are read.
Not sure there is something really wrong there.