Jump to content

Does anyone know of a way to watch for Brave (or chrome, or firefox) to finish downloading a file?


Recommended Posts

Hey all! I'd like to be able to watch for a download (all downloads that happen) to finish so that I can execute/move/whatever I need to do with the downloaded file automatically.
Can this be done in Autoit? What function(s) should I be looking at to get me started if it is?

Thank for your time, everyone. :) 

Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 
Link to post
Share on other sites

Alternativly, do you know of a good download manager that will launch a program with a command containing the filename of the downloaded file? I'm open to other solutions as well. Really, any way to make this work will do, even if I have to cobble a solution together using multiple components. I've done that before. :)

 

Edited by Draygoes
changed wording
Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 
Link to post
Share on other sites

if you know the URL of the file to download, why use a browser or a download manager? handle the entire process inside your AutoIt script.

any decent download manager should be able to run a command upon download completion. try Free Download Manager, this is one i found to be most useful in the past, although i never checked if it has such a feature, i'm fairly certain it does.

if you know the local file name of the downloaded file, then you can monitor your downloads folder for the newly appearance of the file.

Link to post
Share on other sites

InetGet ?  If you need to go thru the web browser, you could watch the file size with FileGetSize.  I have seen in the past that the size of the file gets only updated at the end of the download.  So during the download, size will remain at 0.  Just check that trick if it still works with Brave.

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...