Obtient le texte de la barre de titre de la fen�tre sp�cifi�e
#include <WinAPISysWin.au3>
_WinAPI_GetWindowText ( $hWnd )
$hWnd | Handle de la fen�tre |
Succ�s: | Retourne le texte de la barre de titre de la fen�tre |
�chec: | D�finit @error <> 0, appelez _WinAPI_GetLastError() pour obtenir des informations sur l'erreur. |
Consultez GetWindowText dans la librairie MSDN.
#include <WinAPISysWin.au3> _Example() Func _Example() Run("notepad.exe") Local $hWnd = WinWait("[CLASS:Notepad]", "") ConsoleWrite("! " & _WinAPI_GetWindowText($hWnd) & @CRLF) EndFunc ;==>_Example