Aide:WinGetProcess.txt

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

Document original V3.3.6.1 :

###Function###
WinGetProcess

###Description###
Retrieves the Process ID (PID) associated with a window.

###Syntax###
WinGetProcess ( "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 numeric Process ID (PID).
Failure:	Returns -1.
@@End@@


###Remarks###
None.

###Related###
ProcessWait, ProcessWaitClose, ProcessList


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


Document traduit V3.3.6.1 :

###Function###
WinGetProcess

###Description###
Retrouve l'identifiant du processus (PID) associé à une fenêtre.


###Syntax###
WinGetProcess ( "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 l'identifiant du processus (PID).
Échec:	Retourne -1.
@@End@@


###Remarks###
Aucune.


###Related###
<a href="ProcessWait.htm">ProcessWait</a>, <a href="ProcessWaitClose.htm">ProcessWaitClose</a>, <a href="ProcessList.htm">ProcessList</a>


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


Traducteur : Jerome

Contributeurs (pour les modifications avant le Wiki) : Tlem