Advertisement
Guest User

Untitled

a guest
Oct 10th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.66 KB | None | 0 0
  1.                         $DerzeitBytes = InetGetInfo( $Download, 0)
  2. $komplettBytes = InetGetInfo( $Download, 1)
  3.                     Until $DerzeitBytes = $komplettBytes
  4.                     While 2
  5.  
  6.                         $komplettBytes / 2 = $haelftedownload
  7.                         $komplettBytes / 3 = $dritteldownload
  8.                         If $DerzeitBytes = $dritteldownload Then
  9.                             ProgressSet( 33, '33 %')
  10.                         EndIf
  11.                         If $DerzeitBytes = $haelftedownload Then
  12.                             ProgressSet( 50, '50 %')
  13.                         EndIf
  14.                         If $DerzeitBytes = $komplettBytes Then
  15.                             ProgressSet( 100, '100 %')
  16.                             MsgBox( 0, 'Fertig', 'Download wurde gespeichert unter: ' & @ScriptDir & '\HearTheRadio' & $line & '.zip')
  17.                             EndIf
  18.                             ProgressOff()
  19.  
  20.                             WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement