。。。
UIAutomation 尝试下https://blog.csdn.net/zhangliang0000/article/details/129027669
应该很少,桌面应用的时代都是很久以前的事了