How to write a jxs file with the text object

Andro's icon

If i have my text object with my whole shader and send the message
write
the window pops open and i can save my file with the .jxs extension and I have my file.

If i do it with something like this


write "D:/Max 7 projects/Oculus VR patches/rayMarcherStitched.jxs"


theres a file with the right name and extension but its empty.

Can anyone see what I'm doing wrong ?

Andro's icon

If I do it with the extension .txt it works fine, I just can't use that with jit.gl.slab.