You've almost figured everything out yourself.
Move "Show save dialog" to event 240, and remove "Wait for previous action to complete".
Now look at the "Write text" action. You need to write saved data SaveStateJSON into the file with filename NWJS.ChoosenPath
Thanks for taking the time to explain this, I appreciate it! :)
it is already MUCH better than anything on the manuals but still a non programmer like me have no clue what is this SaveStateJSON means or more important how I use it and when... yeah, it's not that obvious for somebody who needs to google everything and still nothing is related to how it works in C3 anyway but in more confusing terms (most of the documents built in that way).
What you are currently doing is you are writing chosen path into the file named "mysave". Why?
It looks like you are trying different random things in hope that one of them will work, instead of taking a moment to read. I mean it's right there - Path, Contents. You don't need to be a programmer to know what path and contents is.
When you say it's right there... true, but it's not obvious at all:
Path = You right, it's obviously to put "C:\whatever[/b]" but you mentioned that JSON... thingy which non-programmers have no idea what is it how to use it, why, and when even after reading about it on the documents... it's not helping with no actual C3 Example or Tutorial.
Contents = from your "Hello World" example I guess I just need to put any text, in other words I understand it's just a "description" so why it's called contents? but I may be wrong because I don't see why I need it now... I thought it's another place to put one of these: AJAX / JSON / Binary data lines and expressions that I'm not familiar or understand yet since... I'm not a programmer.
I understand that you can't think as a non-programmer because these things looks obvious to you, that's why you probably can't understand my point of view which is totally normal and I respect that.
This is why I appreciate your help btw, I'm learning MUCH more from these kind of discussions and progress instead of readying "terms" with short descriptions and no actual visual C3 examples in most of the documents, that's useless for non-programmer like myself.
I did follow your instructions, moved the lines and removed the other one,
but still can't get that Write TEXT file box to work, I tried a specific path and I get an error on the Console... and I don't even want a specific path for saving the file as I explained, I want it to be on the users last default saved like how the browser invoke download worked. unless it's impossible... I have no idea
On the Contents... "Enter the text content to write to the file" ??
But I don't need any text in my file... it's a project file not a document text, so what does it even means??
based on your example I should put there "Just Any Text" and it's useless in my case because I just want the saved file extension to be MyFile.ALON extension at the end.
I tried to put there "SaveStateJSON" but it's not working as well, I guess it's supposed to save the system state saved when clicking the "SAVE" button and use that "JSON" thingy to transfer it or something, I'm just guessing it's a programmers language my brain have no idea how to use... lots of guessing are really bad because I'm trying HARD to understand how things are working here with no thanks to the documents.
Confusion is on...
Guessing Game Failed because of lack of understanding what's this "Contents" wants me to put in:
I had so many other tries but it doesn't matter even if it works, I don't get it... I wish the documents could put good actual C3 examples to learn something from all these nice words.