Hi!
If in startup.scd I do
"myfile.scd".load;
and inside myfile.scd
I try access Document.current.dir
but it gives me nil
.
The same file opened in scide does give the right dir when evaluating that line. I assume the reason is that the file is not actually open in the IDE when loaded from the startup file, but just in memory somehow.
Can I somehow figure out from which directory myfile.scd
was loaded from when loaded via startup.scd
?