Custom Query (3927 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (436 - 438 of 3927)

Ticket Resolution Summary Owner Reporter
#437 Wont Fix InetGet in background mode - loop not responding when site overloaded Zedna
Description

InetGet in background mode - loop not responding

I have created small utility Radar which downloads actual Czech meteorological radar pictures and shows them on my GUI in loop (animation).

See whole code/screenshot in this topic in Examples forum: http://www.autoitscript.com/forum/index.php?showtopic=75659

But sometimes when WWW site is overloaded my While @InetGetActive loop is not responsive. It should go through my loop and show progress of download but there is executed only few (or no) loop cycles when site is overloaded so user can't see progress or stop downloading.

Note: Normally when WWW site is working fine all in my script is working fine too also with stopping download by Esc key

Here is commented core code:

 Status("Stahování dat " & $i+1 & "/" & $pocet_snimku) ; set statusbar text: Download of data 1/6
 $cas1 = TimerInit()

 Inetget($adresa & "data/" & $nazvy[$i], $soubor, 0, 1) ; get GIF file (one of 6 pictures)
 While @InetGetActive
   ; Esc (HotkeySet) can set this global flag/variable when user wants to stop download
 	If $zastavit_stahovani Then 
 		InetGet("abort")
 		FileDelete($soubor)
 		ExitLoop 2 ; stop download of all pictures
 	EndIf

 	; if download last more than timeout defined in INI file then abort
 	$cas2 = TimerDiff($cas1)
 	If $cas2 > $timeout Then 
 		InetGet("abort")
 		FileDelete($soubor)
 		ExitLoop ; stop download of current picture
 	EndIf

 	; if download last more than 2s then show also % of download progress
 	If $cas2 > 2000 Then
 		Status("Stahování dat " & $i+1 & "/" & $pocet_snimku & " (" & Int(@InetGetBytesRead / $size * 100) & "%)")
 		Sleep(250)
 	Else
 		Sleep(50)
 	EndIf
 Wend
#438 Fixed Vista 64: ProgramDir Marc
Description

Hi,

under Vista64 we find two Program Files-Folders:

  1. Program Files
  2. Program Files (x86)

The help file suggests

@SystemDrive & "\Program Files(x86)"

But: The Macro @SystemDrive does not exist and there is a space missing before the "(x86).

Funny thing: When pressing F5, Scite launches the X86 Version from AutoIt (at least, I think so), because @programdir resolves to the x86 version. If the .au3 script is started from the explorer, the x64 version is used and fails to find the program the script should launches.

#439 No Bug ping function doesnt work for vista yoop
Description

function ping() does not work on Windows Vista 32 and 64 Bit Version, you can read in this thread its also not working for other people, it always returns 0 instead the correct ping

http://www.autoitscript.com/forum/index.php?showtopic=75912

$pingtomysite=ping("http://www.google.com", 4000)
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.