Jump to content
Sign in to follow this  
difa1

Controls in GroupBox

Recommended Posts

difa1

Hey guys,

I'm new to this forum and need your help...

I need to get the classnameNN or better the controlID from Checkboxes within a groupbox... I don't have any idea how to do this. Might i get some hints?

Posted Image

Kind regards

Fabian

Share this post


Link to post
Share on other sites
guinness

Your best bet is to read the Help file on 'Controls' just search the Help file and it will outline how to do this. Hint: You'll need AutoIt Window Info Tool or Au3Info as it's known.


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
difa1

Your best bet is to read the Help file on 'Controls' just search the Help file and it will outline how to do this. Hint: You'll need AutoIt Window Info Tool or Au3Info as it's known.

Already read this topic in the AutoIt help. And I also already tried to use the Window Info Programm but all it returns is 1 Button... It's not possible to select a single Checkbox in my groupbox :doh:

Need some more help :oops: Don't know what I'm doing wrong, trying now for 1 hour haha

Here's what I get using Window Info on my groupbox. Sounds a bit wrong to me what he tells me :bye:

Posted Image

Share this post


Link to post
Share on other sites
guinness

What's the program you're automating as perhaps the application has been discussed before.


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
guinness

Why not use ControlMove as perhaps the group control is overlapping the checkboxes and this is why you always get the group control instead of the checkboxes.

Edited by guinness

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
WB123

I'm new to the AutoIt forum.

Came here to find solution to what I thought was an Autoit / 'Finder Tool' issue with controls in GroupBoxes that were used in my 3rd party COTS app.

I changed my theory because of the following experiment.

I created my own MS Windows program with controls in a GroupBox and Autoit / 'Finder Tool' found all the controls in the GroupBox

One of the developers in this or a similar discussion forum commented that the 'Finder Tool' Identified the GroupBox as a button class. That's exactly what I saw in my 3rd party app.

I had a thought... what if the 3rd party app developer had layered a button on a GroupBox and the controls that I could not access with the finder tool were actually on the button sitting on the groupbox boundary details. It might look like a groupbox container holding the subcontrols but actually they were top level windows form items sitting in the pixel footprint of the button.

I created another MS Windows program with some controls in a groupbox and some other controls on a large button.

Ran my program and used the AutoIt Finder Tool. It found all controls in the groupbox but could not find the buttons, textboxes, checkboxes, radiobuttons and listboxes that I placed on the button. Oddly, The 'Finder Tool' could see a combobox on the button.

 

My model for the problem has changed.

I think the Autoit finder tool knows the relative position(x,y) and geometry(w and h) of all controls on the form. They must be available in some form of list and the find tool moves the mouse controlled crosshair over the foreground window checking to see if it current position in the form corresponds to the rectangular footprint(x,y,w,h) of a control. When it does match, it fills in the control information fields for the match and does not continue searching for other controls that might also contain the mouse controlled crosshair position. This would make any controls below the button's x,y,w,h position invisible to the Autoit finder tool.

 

Is there any way to just see the control ID information for all controls contained within the form and their x,y.w,h geometries?

 

Thanks!

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
jdelaney

My signature has a function to grab all controls, and output them to your console (as long as they are standard windows controls)...it's gives class name, id, position, visibility, text, and some other stuff...pass in the handle for the window.

I've had the same issue with the spy tool, where it would only grab the control group, and not allow me to select the specific controls within it...that's why I wrote up this function: to get some identifier to use in automation scripts, reliably.

Simple example:

$h = WinGetHandle("[CLASS:Notepad]")
If Not IsHWnd($h) Then
    Run("notepad")
    $h = WinWait("[CLASS:Notepad]","",5000)
EndIf

GetAllWindowsControls($h)

Output:

Func=[GetAllWindowsControls]: ControlCounter=[  1] ControlID=[   15] Handle=[0x002D0068] ClassNN=[              Edit1] XPos=[   0] YPos=[   0] Width=[1339] Height=[ 582] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  2] ControlID=[ 1025] Handle=[0x000D0528] ClassNN=[msctls_statusbar321] XPos=[   0] YPos=[ 559] Width=[1339] Height=[  23] IsVisible=[0] Text=[].

Edit...this one flexes the muscles a bit more:

$h = WinGetHandle("[CLASS:CabinetWClass]")
If Not IsHWnd($h) Then
    Run("explorer")
    $h = WinWait("[CLASS:CabinetWClass]","",5000)
EndIf

GetAllWindowsControls($h)

Output:

Func=[GetAllWindowsControls]: ControlCounter=[  1] ControlID=[41477] Handle=[0x0021061A] ClassNN=[ Address Band Root1] XPos=[ 105] YPos=[  57] Width=[ 793] Height=[  28] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  2] ControlID=[    0] Handle=[0x0020070C] ClassNN=[ Breadcrumb Parent1] XPos=[ 107] YPos=[  61] Width=[ 755] Height=[  22] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  3] ControlID=[    0] Handle=[0x00110796] ClassNN=[            Button1] XPos=[ 172] YPos=[ 102] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  4] ControlID=[    0] Handle=[0x002707CC] ClassNN=[            Button2] XPos=[ 172] YPos=[ 102] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  5] ControlID=[    0] Handle=[0x000C07DA] ClassNN=[    CtrlNotifySink1] XPos=[   0] YPos=[  90] Width=[ 156] Height=[ 631] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  6] ControlID=[    0] Handle=[0x002307F2] ClassNN=[    CtrlNotifySink2] XPos=[ 172] YPos=[ 102] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  7] ControlID=[    0] Handle=[0x000D064E] ClassNN=[    CtrlNotifySink3] XPos=[ 172] YPos=[ 102] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  8] ControlID=[    0] Handle=[0x000C080A] ClassNN=[    CtrlNotifySink4] XPos=[   0] YPos=[  90] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[  9] ControlID=[    0] Handle=[0x000C064A] ClassNN=[    CtrlNotifySink5] XPos=[ 160] YPos=[  90] Width=[ 963] Height=[ 631] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 10] ControlID=[    0] Handle=[0x001C01DE] ClassNN=[    CtrlNotifySink6] XPos=[ 160] YPos=[  90] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 11] ControlID=[    0] Handle=[0x000C0610] ClassNN=[    CtrlNotifySink7] XPos=[1106] YPos=[  90] Width=[  17] Height=[ 631] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 12] ControlID=[    0] Handle=[0x001C0798] ClassNN=[      DirectUIHWND1] XPos=[ 913] YPos=[  60] Width=[ 194] Height=[  24] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 13] ControlID=[    0] Handle=[0x000E0664] ClassNN=[      DirectUIHWND2] XPos=[   0] YPos=[  90] Width=[1123] Height=[ 654] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 14] ControlID=[    0] Handle=[0x0019067E] ClassNN=[      DirectUIHWND3] XPos=[ 160] YPos=[  90] Width=[ 963] Height=[ 631] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 15] ControlID=[    0] Handle=[0x0017028E] ClassNN=[DUIViewWndClassName1] XPos=[   0] YPos=[  90] Width=[1123] Height=[ 654] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 16] ControlID=[    0] Handle=[0x00210660] ClassNN=[ msctls_progress321] XPos=[ 107] YPos=[  61] Width=[ 789] Height=[  22] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 17] ControlID=[40961] Handle=[0x001205E4] ClassNN=[msctls_statusbar321] XPos=[   0] YPos=[  67] Width=[   0] Height=[  23] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 18] ControlID=[    0] Handle=[0x000A0790] ClassNN=[NamespaceTreeControl1] XPos=[   0] YPos=[  90] Width=[ 156] Height=[ 631] IsVisible=[1] Text=[Namespace Tree Control].
Func=[GetAllWindowsControls]: ControlCounter=[ 19] ControlID=[    0] Handle=[0x000B0512] ClassNN=[         NetUIHWND1] XPos=[   0] YPos=[   0] Width=[1123] Height=[  55] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 20] ControlID=[    0] Handle=[0x0022058E] ClassNN=[           NUIPane1] XPos=[   0] YPos=[  31] Width=[1123] Height=[  55] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 21] ControlID=[40965] Handle=[0x001402E8] ClassNN=[     ReBarWindow321] XPos=[   0] YPos=[  55] Width=[1123] Height=[  35] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 22] ControlID=[40965] Handle=[0x00190554] ClassNN=[     ReBarWindow322] XPos=[   0] YPos=[  90] Width=[1123] Height=[   0] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 23] ControlID=[    0] Handle=[0x000D0670] ClassNN=[         ScrollBar1] XPos=[ 160] YPos=[  90] Width=[   0] Height=[   0] IsVisible=[0] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 24] ControlID=[    0] Handle=[0x000F06A2] ClassNN=[         ScrollBar2] XPos=[1106] YPos=[  90] Width=[  17] Height=[ 631] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 25] ControlID=[    0] Handle=[0x001905BE] ClassNN=[        Search Box1] XPos=[ 908] YPos=[  60] Width=[ 204] Height=[  24] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 26] ControlID=[    0] Handle=[0x002B028A] ClassNN=[SearchEditBoxWrapperClass1] XPos=[ 913] YPos=[  60] Width=[ 194] Height=[  24] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 27] ControlID=[    0] Handle=[0x001407B0] ClassNN=[     SeparatorBand1] XPos=[ 902] YPos=[  70] Width=[   6] Height=[   1] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 28] ControlID=[    0] Handle=[0x00180580] ClassNN=[     SeparatorBand2] XPos=[1116] YPos=[  70] Width=[   7] Height=[   1] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 29] ControlID=[    0] Handle=[0x00190522] ClassNN=[Shell Preview Extension Host1] XPos=[   0] YPos=[  90] Width=[   0] Height=[   0] IsVisible=[0] Text=[Shell Preview Extension Host].
Func=[GetAllWindowsControls]: ControlCounter=[ 30] ControlID=[    0] Handle=[0x0039076C] ClassNN=[  SHELLDLL_DefView1] XPos=[ 160] YPos=[  90] Width=[ 963] Height=[ 631] IsVisible=[1] Text=[ShellView].
Func=[GetAllWindowsControls]: ControlCounter=[ 31] ControlID=[    0] Handle=[0x001105BA] ClassNN=[ShellTabWindowClass1] XPos=[   0] YPos=[  90] Width=[1123] Height=[ 654] IsVisible=[1] Text=[File Explorer].
Func=[GetAllWindowsControls]: ControlCounter=[ 32] ControlID=[    0] Handle=[0x000D0690] ClassNN=[            Static1] XPos=[   0] YPos=[  90] Width=[   0] Height=[   0] IsVisible=[0] Text=[Namespace Tree Control].
Func=[GetAllWindowsControls]: ControlCounter=[ 33] ControlID=[  100] Handle=[0x000E0638] ClassNN=[     SysTreeView321] XPos=[   0] YPos=[  90] Width=[ 156] Height=[ 631] IsVisible=[1] Text=[Tree View].
Func=[GetAllWindowsControls]: ControlCounter=[ 34] ControlID=[    0] Handle=[0x001D062E] ClassNN=[   ToolbarWindow321] XPos=[   4] YPos=[  57] Width=[  77] Height=[  30] IsVisible=[1] Text=[Navigation buttons].
Func=[GetAllWindowsControls]: ControlCounter=[ 35] ControlID=[    0] Handle=[0x001E08CC] ClassNN=[   ToolbarWindow322] XPos=[  81] YPos=[  60] Width=[  24] Height=[  29] IsVisible=[1] Text=[Up band toolbar].
Func=[GetAllWindowsControls]: ControlCounter=[ 36] ControlID=[ 1001] Handle=[0x001402EC] ClassNN=[   ToolbarWindow323] XPos=[ 107] YPos=[  61] Width=[ 755] Height=[  22] IsVisible=[1] Text=[Address: Quick access].
Func=[GetAllWindowsControls]: ControlCounter=[ 37] ControlID=[    0] Handle=[0x002A05A8] ClassNN=[   ToolbarWindow324] XPos=[ 862] YPos=[  61] Width=[  34] Height=[  22] IsVisible=[1] Text=[Address band toolbar].
Func=[GetAllWindowsControls]: ControlCounter=[ 38] ControlID=[    0] Handle=[0x001605D4] ClassNN=[   ToolbarWindow325] XPos=[   2] YPos=[  90] Width=[1121] Height=[   0] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 39] ControlID=[    0] Handle=[0x001B080E] ClassNN=[        TravelBand1] XPos=[   0] YPos=[  55] Width=[  81] Height=[  32] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 40] ControlID=[    0] Handle=[0x000D077E] ClassNN=[UIRibbonCommandBar1] XPos=[   0] YPos=[  31] Width=[1123] Height=[  24] IsVisible=[1] Text=[Ribbon].
Func=[GetAllWindowsControls]: ControlCounter=[ 41] ControlID=[    0] Handle=[0x00140646] ClassNN=[UIRibbonCommandBarDock1] XPos=[   0] YPos=[  55] Width=[   0] Height=[ 689] IsVisible=[0] Text=[UIRibbonDockLeft].
Func=[GetAllWindowsControls]: ControlCounter=[ 42] ControlID=[    0] Handle=[0x00140674] ClassNN=[UIRibbonCommandBarDock2] XPos=[1123] YPos=[  55] Width=[   0] Height=[ 689] IsVisible=[0] Text=[UIRibbonDockRight].
Func=[GetAllWindowsControls]: ControlCounter=[ 43] ControlID=[    0] Handle=[0x000E064C] ClassNN=[UIRibbonCommandBarDock3] XPos=[   0] YPos=[  31] Width=[1123] Height=[  24] IsVisible=[1] Text=[UIRibbonDockTop].
Func=[GetAllWindowsControls]: ControlCounter=[ 44] ControlID=[    0] Handle=[0x000E0526] ClassNN=[UIRibbonCommandBarDock4] XPos=[   0] YPos=[ 744] Width=[1123] Height=[   0] IsVisible=[0] Text=[UIRibbonDockBottom].
Func=[GetAllWindowsControls]: ControlCounter=[ 45] ControlID=[    0] Handle=[0x000B062C] ClassNN=[  UIRibbonWorkPane1] XPos=[   0] YPos=[  31] Width=[1123] Height=[  24] IsVisible=[1] Text=[Ribbon].
Func=[GetAllWindowsControls]: ControlCounter=[ 46] ControlID=[    0] Handle=[0x001605CA] ClassNN=[  UIRibbonWorkPane2] XPos=[   0] YPos=[   0] Width=[ 100] Height=[ 100] IsVisible=[0] Text=[UIRibbonWorkPane].
Func=[GetAllWindowsControls]: ControlCounter=[ 47] ControlID=[    0] Handle=[0x002304EA] ClassNN=[UniversalSearchBand1] XPos=[ 908] YPos=[  57] Width=[ 204] Height=[  28] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 48] ControlID=[    0] Handle=[0x004804E6] ClassNN=[            UpBand1] XPos=[  81] YPos=[  56] Width=[  24] Height=[  29] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 49] ControlID=[    0] Handle=[0x002005A6] ClassNN=[           WorkerW1] XPos=[   0] YPos=[  55] Width=[1123] Height=[  35] IsVisible=[1] Text=[].
Func=[GetAllWindowsControls]: ControlCounter=[ 50] ControlID=[40965] Handle=[0x001206FE] ClassNN=[           WorkerW2] XPos=[   0] YPos=[  90] Width=[1123] Height=[   0] IsVisible=[1] Text=[].

 

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×