Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

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...