jimg Posted January 4, 2017 Share Posted January 4, 2017 I have a script that is bulk downloading a large number of webpages, and each one is fairly complex and my sluggish internet connection can take quite awhile. I'm simply using _ienavigate to get to the next webpage, then SENDing a ^s to the browser, which saves everything I need. I then have to shuttle the various files of to other locations. I haven't figured out how to determine when the save_as command has finished, as the progress bar doesn't appear to be detectable. I have many thousands of pages to do, and SLEEPing the worst case time wouldn't work. Link to comment Share on other sites More sharing options...
jimg Posted January 4, 2017 Author Share Posted January 4, 2017 I found that the "Save Webpage" window appears in WindowSpy, so maybe I can check for it to go away? Link to comment Share on other sites More sharing options...
jimg Posted January 4, 2017 Author Share Posted January 4, 2017 Took awhile to make it work, as there's apparently a short window between the existence of the SaveAs dialog box and the progress bar (both called Save Webpage). I think it's working. Link to comment Share on other sites More sharing options...
jimg Posted January 4, 2017 Author Share Posted January 4, 2017 That doesn't work... Link to comment Share on other sites More sharing options...
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