Can someone tell me how to code to save a textfile to disk without showing/popping up a “save as” dialogue window? (using windows)
Look at the first example code at this page : http://documentation.xojo.com/index.php/TextOutputStream
To specify a path, use GetFolderItem : http://documentation.xojo.com/index.php/GetFolderItem
Thank you for your reply.
I already tried the examples, but
f = GetSaveFolderItem("", “CreateExample.txt”)
does open a “save as” window and I want to directly write to a file on disk without opening the “save as” or any other window
Any ideas?
Read Michel’s reply closely. He is recommending GetFolderItem, not GetSaveFolderItem
Mark,
You are right, I should have read Michael his comment closer.
Thanks both, it works for me.