save/export extracted values and pictures; SaveAs websites

I search a possibility to save extracted data (for instance values of a table) to excel/csv/xml via script into a file-folder. I want to set the filename and pathname as parameter in the script.

I search also a possibility to save an selected image of a website into a file-folder. I want to set the filename and pathname as parameter in the script (like a download).

I search also a possibility to save a whole website into a file-folder (as html with all subobjects like pictures css …). I want to set the filename and pathname as parameter in the script (like the command SaveAs in browser).