How can i write this with Notes Script?

hello,

i’d like to make a Web Agent using Notes Script similar to this ASP program :

============================================

Response.ContentType = “Application/x-msexcel”;

Response.AddHeader(“Content-Disposition”,“inline; filename=DOWNLOAD.CSV”);

============================================

yes, i’d like to prompt “SAVE AS” dialog to download a CSV file rather than launch.

any help would be welcomed. thanks.

Subject: how can i write this with Notes Script?

Satrt your output with the follwing two statements:

Print {content-type: application/x-msexcel}

Print {content-disposition: inline; filename=download.csv}