The Get-UIAControlChildren cmdlet returns all controls that are one level below of the input control:
Start-Process calc -PassThru | Get-UIAWindow | Get-UIAControlChildren | %{ Write-Host $_.Current.ControlType.ProgrammaticName $_.Current.Name $_.Current.AutomationId; }

Tags: TreeScope.Children

Last edited Jan 22, 2013 at 6:00 AM by xinliu, version 3

Comments

No comments yet.