Aide:ObjName.txt

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

Document original V3.3.6.1 :

###Function###
ObjName

###Description###
Returns the name or interface description of an Object

###Syntax###
ObjName ( $Objectvariable [,Flag] )

###Parameters###
@@ParamTable@@
$Objectvariable
	A variable containing an Object whose name you want to retrieve
Flag
	[optional] 1 = Name of the dispatch interface being used (default)
	2 = Description of the (document) Object
	3 = The ProgID of the Object
	4 = The DLL file from with the Object was created (if supported)
	5 = Filename and position of the toolbox icon (if supported)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns a string representing the name
Failure:	Sets @error and Returns ""
@@End@@


###Remarks###
Not all Objects support flags 2 to 5. Always test for @error in these cases.

###Related###
IsObj, ObjGet, ObjCreate


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


Document traduit V3.3.6.1 :

Texte en Français


Traducteur :

Contributeurs (pour les modifications avant le Wiki) :