Aide:WinList.txt

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

Document original V3.3.6.1 :

###Function###
WinList

###Description###
Retrieves a list of windows.

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


###Parameters###
@@ParamTable@@
title
	[optional] The title of the window to read.
text
	[optional] The text of the window to read.
@@End@@


###ReturnValue###
Returns an array of matching window titles and handles.


###Remarks###
If no title and text is given then all top-level windows are returned.

The array returned is two-dimensional and is made up as follows:
$array[0][0] = Number of windows returned
$array[1][0] = 1st window title
$array[1][1] = 1st window handle (HWND)
$array[2][0] = 2nd window title
$array[2][1] = 2nd window handle (HWND)
...
$array[n][0] = nth window title
$array[n][1] = nth window handle (HWND)

###Related###
WinGetHandle

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


Document traduit V3.3.6.1 :

###Function###
WinList

###Description###
Récupère une liste de fenêtres.


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


###Parameters###
@@ParamTable@@
title
	[optionnel] Le titre de la fenêtre à lire.
text
	[optionnel] Le texte de la fenêtre à lire.
@@End@@


###ReturnValue###
Retourne un tableau correspondant aux fenêtres et handles.


###Remarks###
Si aucun titre ou texte n'est donné, alors toutes les fenêtres de niveau supérieur sont retournées.

Le tableau retourné est un tableau à deux dimensions composé comme ceci :
$array[0][0] = Nombre de fenêtres retournées
$array[1][0] = Titre de la première fenêtre
$array[1][1] = Handle de la première fenêtre (HWND)
$array[2][0] = Titre de la deuxième fenêtre
$array[2][1] = Handle de la deuxième fenêtre (HWND)
...
$array[n][0] = Titre de la N-ième fenêtre
$array[n][1] = Handle de la N-ième fenêtre (HWND)


###Related###
<a href="WinGetHandle.htm">WinGetHandle</a>


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


Traducteur : Jerome

Contributeurs (pour les modifications avant le Wiki) : Tlem