Local files in SAPWR: In the SAP Web Repository I have registered the GuiXT script editor as MIME editor for .txt files. This works well. What I would like to know is: what is the name of the temporary folder in which the scripts are stored for the purpose of local editing?

You can find the name of the temprory folder in SAP GUI: click on

Customize Local Layout (Alt-F12)
-> About...
-> Client Environment

The temporary folder is shown in the box "Additional Information", field "Current Directory".