August 1, 2022

UIAutomation: Easily access properties

This video (How to easily access properties from UIA - YouTube) by The.Automator-s is a bit obsolete especially see here (t=417)



With one of recent Descolada's update in the UIAutomation library, you can now access the UIA properties directly.

I asked him about this handling in this issue and he nicely updated his library.

For example you can directly use .Name to access the 'Name' Property; no need to use the counter-intuitive .CurrentName anymore (as shown in Joe's video).

I recommend you keep your local UIAutomation library synchronized with the repo or check regularly for updates.

Somehow my comment on Joe's YouTube video does not come through right now. (I personally dislike strongly moderated comments)

No comments:

Post a Comment