I am having issues creating a "export" functionality for my application. There is a reason why I want to do this, and its pretty simple: When people are done doing what they are doing, and in my application it is calculations, people may want to save that data so they don't have to go back and do it again. Here is what I have now:
methods: {
createFile: function () {
var data = `
Test Data: ${this.chcCalc}`;
var fso = CreateObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("filename.txt", True);
s.writeline(data);
s.Close();
},
}
I've been doing some research and it seems it MIGHT not be possible to do this and if so kind of a drag. I'm aware why the above doesn't work but it was the only example I could find.