Jump to content
Sign in to follow this  
7ops

autoit downloader

Recommended Posts

7ops

is it possible to make a script that will download and run a file as soon as the autoit script is open?

im tyring to make a file downloader for this game

Share this post


Link to post
Share on other sites
Wus

search the forums for "inetget" and "run" or "runwait"

or just look in the help file

and try to post support Q's in the support forum


Share this post


Link to post
Share on other sites
7ops

very sorry im a nub at autoIT

Share this post


Link to post
Share on other sites
mozart90

very sorry im a nub at autoIT

hmm,

here is your 2 lines script. It downloads autoit.exe from given url, saves the file to c:\temp\autoit-v3-setup.exe and runs the file after all.

But be aware the directory must exist!

InetGet("http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe","c:\temp\autoit-v3-setup.exe")
run("c:\temp\autoit-v3-setup.exe")

So you 've got an idea how it could look. To improve the script look in the Help file. The are many examples.

Next time better post your question in the support forum.

greetings mozart90

Share this post


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
Sign in to follow this  

×