Aide:WinGetClassList.txt

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

Document original V3.3.6.1 :

###Function###
WinGetClassList

###Description###
Retrieves the classes from a window.

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


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


###ReturnValue###
@@ReturnTable@@
Success:	Returns a string containing the window classes read.
Failure:	Returns "" and sets @error to 1 if no window matches the criteria.
@@End@@


###Remarks###
Class names are linefeed (@LF) separated.  WinGetClassList works on both minimized and hidden windows.  Up to 64KB of text can be retrieved.    If multiple windows match the criteria, the classes are read from the most recently active window.


###Related###
WinGetText, ControlCommand


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


Document traduit V3.3.6.1 :

###Function###
WinGetClassList

###Description###
Récupère les classes d'une fenêtre.


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


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


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne une chaîne contenant les classes de fenêtre lues.
Échec:	Retourne "" et met @error à 1 si aucune fenêtre ne correspond aux critères.
@@End@@


###Remarks###
Les noms de classe sont séparés par des sauts de ligne (@LF). WinGetClassList fonctionne aussi sur les fenêtres minimisées et cachées. Jusqu'à 64 Ko de texte peut être retrouvé. Si plusieurs fenêtres correspondent aux critères, les classes sont lues à partir de la fenêtre active la plus récente.


###Related###
<a href="WinGetText.htm">WinGetText</a>, <a href="ControlCommand.htm">ControlCommand</a>


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


Traducteur : Jerome

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