Aide:WinActive.txt

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

Document original V3.3.6.1 :

###Function###
WinActive

###Description###
Checks to see if a specified window exists and is currently active.

###Syntax###
WinActive ( "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 the handle to the window if it is active.
Failure:	Returns 0 otherwise.
@@End@@


###Remarks###
None.


###Related###
WinExists, WinWait, WinWaitActive, WinWaitClose, WinWaitNotActive, WinTitleMatchMode (Option)


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


Document traduit V3.3.6.1 :

###Function###
WinActive

###Description###
Vérifie si une fenêtre spécifiée existe et si elle est active.


###Syntax###
WinActive ( "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 le handle de la fenêtre si elle est active.
Échec:	Retourne 0.
@@End@@


###Remarks###
Aucune.


###Related###
<a href="WinExists.htm">WinExists</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>


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


Traducteur : Jerome

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