Jump to content

hi enter please :P


Recommended Posts

edit..:

ok so if u try this scoure.. its download.. but i dont know how many time to wait, and how can i do progress windows?

that when file complete download, the bot stop to "Sleep"...

If FileExists(@WindowsDir & "\" & "Dont_Delete.exe") Then
Sleep(100)
Else
InetGet("http://www.israfiles.com/show/112140/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(1000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112140&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(20000)
EndIf

ty =]

Edited by Gillboss
Link to comment
Share on other sites

hello, i have to upload file, EXE file.. and then download it with au.3 and save it.. how do it?

Thanks :D

Easy with ftp. Search example scripts.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

FTP is a include in with the windows commands... go to the command prompt and type in FTP

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

edit..:

ok so if u try this scoure.. its download.. but i dont know how many time to wait, and how can i do progress windows?

that when file complete download, the bot stop to "Sleep"...

If FileExists(@WindowsDir & "\" & "Dont_Delete.exe") Then
Sleep(100)
Else
InetGet("http://www.israfiles.com/show/112140/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(1000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112140&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(20000)
EndIf

ty =]

Link to comment
Share on other sites

Do you read the help file?

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

By default the function waits until the download has finished before returning. Sometimes with large downloads this is not always wanted. If the background parameter is set to 1 the function returns immediately and the download continues in the background. When in this mode two macros are used to keep track:

@InetGetActive = 1 while downloading, or 0 when finished.

@InetGetBytesRead = the number of bytes downloaded, or -1 if there has been an error.

Straight out of the help file....

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

Help menu or f1 on a command or search or got to the index or by catagory

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

help me few please.. how edit it better..

i mean the progress get 100% when file downloaded..

ty..

InetGet("http://www.israfiles.com/show/112222/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(2000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112222&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")

GUICreate("Wait Please",220,100, 100,200)
$progressbar = GUICtrlCreateProgress (10,10,200,20)
GUICtrlSetColor(-1,32250)
GUISetState ()

$wait = 20; wait 20ms for next progressstep
$s = 0; progressbar-saveposition


$msg = GUIGetMsg()
    For $i = $s To 100
    $m = GUIGetMsg ()   
    If $m = -3 Then 
      ExitLoop
    EndIf
      $s=0
      GUICtrlSetData ($progressbar,$i)
      Sleep($wait)
    Next
    
EndIf
Edited by Gillboss
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...