Is there a way to obtain a list of all of the child windows for the windows Desktop. I tried the following and it did not work:
Dim Children() as String
Result = SQAGetChildren("\", children)
I get a Result of 1005, property not found. I thought I had the wrong RecMethod but I use the same RecMethod in a SQAGetPropertiesasString call and it works.
Here ya go, Tell Steve Gray thanks.
Dim objSW As Object
Set objsw = CreateObject("Shell.Application")
Set objsw = objsw.Windows
windowCount = objsw.Count
for i = 0 to windowCount Step 1
'Take Desired Action
Automation Team Lead
Rental Quality Assurance
That code will give you browsers only...
If you want to go off into VB, a Google search will quickly turn up how to enumerate all top-level windows. I have some code here but it's been a while since I've had to do the external declarations in Robot so it would be straight VB.