Aide:WinWaitClose.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
WinWaitClose

###Description###
Pauses execution of the script until the requested window does not exist.

###Syntax###
WinWaitClose ( "title" [, "text" [, timeout]] )


###Parameters###
@@ParamTable@@
title
	The title of the window to check. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	[optional] The text of the window to check.
timeout
	[optional] Timeout in seconds
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0 if timeout occurred.
@@End@@


###Remarks###
If the window already doesn't exist when this function is called it will return 1 immediately.  The window is polled every 250 milliseconds or so.


###Related###
WinActive, WinExists, WinWait, WinWaitActive, WinWaitNotActive, WinWaitDelay (Option), ProcessWaitClose


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
WinWaitClose

###Description###
Met le script en pause jusqu'à ce que la fenêtre requise n'existe plus.


###Syntax###
WinWaitClose ( "title" [, "text" [, timeout]] )


###Parameters###
@@ParamTable@@
title
	Le titre de la fenêtre à contrôler. Voir <a href="../intro/windowsadvanced.htm">Définiton spéciale de titre</a>.
text
	[optionnel] Le texte de la fenêtre à contrôler.
timeout
	[optionnel] Temporisation en secondes.
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne 1.
Échec:	Retourne 0 si la temporisation est dépassée.
@@End@@


###Remarks###
Retourne 1 si la fenêtre n'existe déjà plus lorsque cette fonction est appelée. La fenêtre est recherchée toutes les 250 millisecondes.


###Related###
<a href="WinActive.htm">WinActive</a>, <a href="WinExists.htm">WinExists</a>, <a href="WinWait.htm">WinWait</a>, <a href="WinWaitActive.htm">WinWaitActive</a>, <a href="WinWaitNotActive.htm">WinWaitNotActive</a>, <a href="WinWaitDelay.htm">WinWaitDelay(Option)</a>, <a href="ProcessWaitClose.htm">ProcessWaitClose</a>


###Example###
@@IncludeExample@@


Traducteur : Jerome

Contributeurs (pour les modifications avant le Wiki) : jbnh, Tlem