...not sure what the 'Address' is what you are searching for.
Code: Select all
; Define
Structure ObjectType
Handle.i
Title.s
Class.s
EndStructure
; EndDefine
Procedure GetObjectInfo(*Object.ObjectType,Set=#False)
#MaxTextLength=256
With *Object
If Set
\Handle=Set
EndIf
If \Handle
\Title=Space(#MaxTextLength)
\Class=Space(#MaxTextLength)
GetWindowText_(\Handle,\Title,#MaxTextLength)
GetClassName_(\Handle,\Class,#MaxTextLength)
ProcedureReturn #True
Else
ProcedureReturn #False
EndIf
EndWith
EndProcedure
o.ObjectType
Explorer=FindWindow_("CabinetWClass",#Null)
; Explorer=FindWindowEx_(Explorer,#Null,"Microsoft.UI.Content.DesktopChildSiteBridge",#Null)
; Explorer=FindWindowEx_(Explorer,#Null,"Microsoft.UI.Xaml.Controls.TabView",#Null)
; Explorer=FindWindowEx_(Explorer,#Null,"ListView",#Null)
If Explorer
With o
Win=GetWindow_(Explorer,#GW_CHILD)
While Win
If GetObjectInfo(o,Win)
If \Class="ShellTabWindowClass"
Debug \Title
EndIf
EndIf
Win=GetWindow_(Win,#GW_HWNDNEXT)
Wend
EndIf
EndWith