Aide:WinExists.txt

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

Document original V3.3.6.1 :

###Function###
WinExists

###Description###
Checks to see if a specified window exists.

###Syntax###
WinExists ( "title" [, "text"] )


###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.
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1 if the window exists.
Failure:	Returns 0 otherwise.
@@End@@


###Remarks###
WinExists will return 1 even if the window is hidden.

###Related###
WinActive, WinWait, WinWaitActive, WinWaitClose, WinWaitNotActive, WinTitleMatchMode (Option), ProcessExists, WinClose


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


Document traduit V3.3.6.1 :

###Function###
WinExists

###Description###
Vérifie si une fenêtre spécifiée existe.


###Syntax###
WinExists ( "title" [, "text"] )


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


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne 1 si la fenêtre existe.
Échec:	Retourne 0.
@@End@@


###Remarks###
WinExists retournera 1 même si la fenêtre est cachée.


###Related###
<a href="WinActive.htm">WinActive</a>, <a href="WinWait.htm">WinWait</a>, <a href="WinWaitActive.htm">WinWaitActive</a>, <a href="WinWaitClose.htm">WinWaitClose</a>, <a href="WinWaitNotActive.htm">WinWaitNotActive</a>, <a href="WinTitleMatchMode.htm">WinTitleMatchMode(Option)</a>, <a href="ProcessExists.htm">ProcessExists</a>, <a href="WinClose.htm">WinClose</a>


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


Traducteur : Jerome

Contributeurs (pour les modifications avant le Wiki) : Tlem