This project is read-only.
If you have several controls with the same name, automation id and class and of the same type (ControlType), you may select one of them by index, if the order of controls is not going to change on the next run:
(Start-Process calc -PassThru | Get-UIAWindow | Get-UIAButton -n [1-3])[1] | Read-UIAControlName;

Last edited Jan 8, 2013 at 10:41 AM by xinliu, version 1


No comments yet.