Here’s a small script:
[If, 1,
[VarDef, file, [FileNameAsk, “.ZBR”, “OrthoProj”]]
[Note, file]
]
When run, it asks for the name of a file (in a save dialog), and then notes the file onscreen.
If, on a Mac, I accept the given filename and choose to save in folder /F, the shown path is “/F/Ortho…ZBR”. This is because ZBrush puts a trailing “.” at the end of the default file name in the save dialog.
If I do the same thing on a PC, i.e. save with the default filename to C:\F, the displayed path is “C:FOrtho.proj”, i.e. with no backslash separators shown.
Does anyone know if the \ separators are actually there in the path shown on the PC? \ is often used to escape special chars, so Note may simply be ignoring them.
However, I am getting errors when attempting to actually write to the chosen file when using a PC, while the write works correctly on a Mac.
Has anyone seen this behavior before?
Many thanks,
Ken