Most things are achievable. If no provision through the API then use windows api find window, controls on that form (hwnd), send messages to get desired results etc. etc.
A bit of work but it'll work fine. E.g. Had a look at the Firefox "Save As" dialogue just now and everything is accessible and exposed. It'd be simply a matter of setting text in an Edit control and a ComboBox and Clicking on a Button. All done with messages. -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul Newton Sent: Monday, 30 May 2022 3:12 AM To: profoxt...@leafe.com Subject: Sava as from IE application object or Web Browser control Hi all I want to programmatically save the current web page (which was loaded from an MHTML file): I want to specify the name and location for the file to be saved and be able to specify "Save as Webpage, complete". Having Google researched, I do not believe this is possible. Can anybody prove me wrong? The only approach I can think of is ExecWB(4,n) where n is 0, 1 or 2. If it cannot be done without user interaction, I would like that interaction to be as minimal as possible (e.g. putting the folder location in the clipboard so that the user can at least paste it into the save as dialog would help, as would being able to at least specify the file name). I can't find a way for the SaveAs dialog to default to Webpage, complete. Many thanks Paul Newton --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/000001d87421$4d3d5ec0$e7b81c40$@ozemail.com.au ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.