serena_knight Posted April 14, 2022 Posted April 14, 2022 i want to make a script that will do a save as of a website to the desktop how do you code that
SkysLastChance Posted April 14, 2022 Posted April 14, 2022 (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, 2022 by SkysLastChance You miss 100% of the shots you don't take. -Wayne Gretzky -Michael Scott
serena_knight Posted April 14, 2022 Author Posted April 14, 2022 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
Nine Posted April 14, 2022 Posted April 14, 2022 Send("^s") maybe ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (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 Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
junkew Posted April 14, 2022 Posted April 14, 2022 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
serena_knight Posted April 20, 2022 Author Posted April 20, 2022 (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, 2022 by serena_knight
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