Aide:WinGetHandle.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
WinGetHandle
###Description###
Retrieves the internal handle of a window.
###Syntax###
WinGetHandle ( "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 handle to the window.
Failure: Returns "" (blank string) and sets @error to 1 if no window matches the criteria.
@@End@@
###Remarks###
This function allows you to use handles to specify windows rather than "title" and "text".
Once you have obtained the handle you can access the required window even if its title changes.
###Related###
WinSetTitle, GUICreate, WinList
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
WinGetHandle
###Description###
Retrouve le handle interne d'une fenêtre.
###Syntax###
WinGetHandle ( "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 le handle de la fenêtre.
Échec: Retourne "" (chaîne vide) et met @error à 1 si aucune fenêtre ne correspond.
@@End@@
###Remarks###
Cette fonction vous permet d'utiliser les handles pour préciser les fenêtres plutôt que le «titre» et le «texte».
Une fois que vous avez obtenu le handle, vous pouvez accéder à la fenêtre, même si son titre change.
###Related###
<a href="WinSetTitle.htm">WinSetTitle</a>, <a href="GUICreate.htm">GUICreate</a>, <a href="WinList.htm">WinList</a>
###Example###
@@IncludeExample@@
Traducteur : Jerome
Contributeurs (pour les modifications avant le Wiki) : Tlem