Jump to content
Sign in to follow this  
realkiller

downloader with input

Recommended Posts

realkiller

how can i make a downlaoder tha listen on key input.

i wanna send a message: download www.google.nl/lol.exe c:\lol.exe then in must download www.google.nl/lol.exe but i wanna make it sow i can use every site en download its 2 a location how can i do that

thx adv

Share this post


Link to post
Share on other sites
seandisanti

how can i make a downlaoder tha listen on key input.

i wanna send a message: download www.google.nl/lol.exe c:\lol.exe then in must download www.google.nl/lol.exe but i wanna make it sow i can use every site en download its 2 a location how can i do that

thx adv

i'm not sure i'm understanding correctly, but try this....

$FILE = InputBox("File url:","Enter full URL for file to download")
$blah = StringSplit($FILE,"/")
MsgBox(0,"file",$blah[$blah[0]])
InetGet($file,"C:\" & $blah[$blah[0]])

Share this post


Link to post
Share on other sites
realkiller

Oke i need it like this, but doesnt work it must get the message download and then http://etc 2 download

$IH = ".RoBeRt"
$EW = "WindowsForms10.EDIT.app52"
$txtw = "WindowsForms10.RichEdit20W.app52"
$blah = StringSplit($FILE,"/")
While 1
If ControlGetText($IH, " download "&$FILE,$txtw)Then
InetGet($file,"C:\" & $blah[$blah[0]])
Else
EndIf
Wend

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  

×