I've been using Nim a little in work for some simple UI Automation. A little bit of https://github.com/khchen/winim/blob/master/examples/uiautomation.nim and a little bit of https://github.com/khchen/wauto replaced some outdated C# Webdriver code. I felt a bit old hat using UIAVerify, but it was fun to have a working script in under 100 lines of code, and I wanted to do more...
Does anyone know of any example repos which use winim for ui automation? Ideally I'd like to implement something that listens to events on the desktop. When the rate of changes slows, it should mean that the automated app has completed loading. I found this recipe https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-howto-implement-event-handlers but my C++ is so minimal that I would die before managing to convert this piece to nim.