as Marcus wrote you can use the store command to store datas into txt-file.
store table into [lib:libname/filename,txt] (txt);
with this you can store one table into one file.
You can join tables, calculate fields or whatever you want in script and store the result in file.
As you wrote in the header:qvs is for script, although it is only a text-file, readable by any editor.
Is it that you want to export the Script, rather than any of the data, to a file?
I seem to recall that rwunderlich created something that could export the script, but I don't know if that can be triggered on a load.
See this thread for a discussion on it, and a link to download the extension:
You could modify the extension, I suppose, so that it runs each time the extension is rendered rather than waiting for a button click - but you would still need to navigate to the sheet with the extension on it.
Hope that helps.
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.