serena_knight 1 Posted April 14 Share Posted April 14 i want to make a script that will do a save as of a website to the desktop how do you code that Link to post Share on other sites
SkysLastChance 21 Posted April 14 Share Posted April 14 (edited) Looking at some of your other post I would suggest putting some time into Webdriver. If using webdriver I would look into. _WD_GetSource() Here is an example with IE. #include <IE.au3> Local $oIE = _IECreate("google.com", 1, 1) While _IEPropertyGet($oIE, "busy") Sleep(100) WEnd FileWrite(@DesktopDir & '\Results.html', _IEDocReadHTML($oIE)) _IEQuit($oIE) Edited April 14 by SkysLastChance Life's simple. You make choices and you don't look back. Link to post Share on other sites
serena_knight 1 Posted April 14 Author Share Posted April 14 i can not user the IE functions because they dont work with edge and Ie is no longer available on our network also i am not allowed to download software on my work computer Link to post Share on other sites
Nine 1,513 Posted April 14 Share Posted April 14 Send("^s") maybe ? Not much of a signature but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search content in au3 files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Screen Scraping Link to post Share on other sites
junkew 469 Posted April 14 Share Posted April 14 So if not allowed to install software why ask in autoit forum. You probably have to find solution with vba or powershell. https://www.codeproject.com/Tips/5307593/Automate-Chrome-Edge-using-VBA Danp2 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to post Share on other sites
serena_knight 1 Posted April 20 Author Share Posted April 20 (edited) installing software has nothing to do with my problem i can issue a send("^s") but then i have to click on desktop on the popup and then click save to save it to the desktop i had hoped to find a way to do this with a script i.e. not show the popup and have to click on desktop and then the save button anyway i have found a better method to do what i wanted to do ty all for your time btw there appears to be a way to save a edge website to excel just haven't figured it out yet Edited April 20 by serena_knight Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now