Aide:StatusbarGetText.txt

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

Document original V3.3.6.1 :

###Function###
StatusbarGetText

###Description###
Retrieves the text from a standard status bar control.

###Syntax###
StatusbarGetText ( "title" [, "text" [, part]] )


###Parameters###
@@ParamTable@@
title
	The title of the window to check.
text
	[optional] The text of the window to check.
part
	[optional] The "part" number of the status bar to read - the default is 1.  1 is the first possible part and usually the one that contains the useful messages like "Ready" "Loading...", etc.
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns the text read.
Failure:	Returns "" (blank string) and sets @error to 1 if no text could be read.
@@End@@


###Remarks###
This functions attempts to read the first standard status bar on a window (Microsoft common control: msctls_statusbar32).  Some programs use their own status bars or special versions of the MS common control which StatusbarGetText cannot read.  For example, StatusbarText does not work on the program TextPad; however, the first region of TextPad's status bar can be read using ControlGetText("TextPad", "", "HSStatusBar1")
StatusbarGetText can work on windows that are minimized or even hidden.


###Related###
ControlGetText, ControlCommand


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


Document traduit V3.3.6.1 :

Texte en Français


Traducteur :

Contributeurs (pour les modifications avant le Wiki) :