I have the following issue:
When I run the following code:
Code: Select all
print(moho.document:Path())
local newDocument = moho:LoadDocument("C:/path/to/file.moho")
print(moho.document:Path())
print(tostring(newDocument))
Code: Select all
""
""
nil
Actually I wanted to open a document, do stuff, save and close it again. But this doesn't seem to be possible.
Does anyone have had this issue before? Do you have an idea on how to work around this?