Aide:WinSetTitle.txt

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

Document original V3.3.6.1 :

###Function###
WinSetTitle

###Description###
Changes the title of a window.

###Syntax###
WinSetTitle ( "title", "text", "newtitle" )


###Parameters###
@@ParamTable@@
title
	The title of the window to change. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	The text of the window to change.
newtitle
	The new title to give to the window.
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1. 
Failure:	Returns 0 if window is not found. 
@@End@@


###Remarks###
If multiple windows match the criteria the title of most recently active window is changed.


###Related###
AutoItWinSetTitle, WinGetTitle, WinTitleMatchMode (Option), WinGetHandle


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


Document traduit V3.3.6.1 :

###Function###
WinSetTitle

###Description###
Change le titre d'une fenêtre.


###Syntax###
WinSetTitle ( "title", "text", "newtitle" )


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


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne 1.
Échec:	Retourne 0 si la fenêtre n'est pas trouvée.
@@End@@


###Remarks###
Si plusieurs fenêtres correspondent aux critères, le titre de la fenêtre la plus récente sera changé.


###Related###
<a href="AutoItWinSetTitle.htm">AutoItWinSetTitle</a>, <a href="WinGetTitle.htm">WinGetTitle</a>, <a href="WinTitleMatchMode.htm">WinTitleMatchMode(Option)</a>, <a href="WinGetHandle.htm">WinGetHandle</a>


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


Traducteur : Jerome

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